Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Uploading all files in a directory tree in Scout 9(Batch file upload)
Uploading all files in a directory tree in Scout 9 [message #1820912] Fri, 31 January 2020 09:04 Go to next message
Eclipse UserFriend
Hi,
I am getting acquainted with Scout and am wondering whether Scout either supports multiple file uploads or if it would be easy enough to implement it.

What my application needs is to upload all files within a folder recursively to a web server. HTML5 seems to support this feature (example application would be uploading a folder to a web backup service).

I have looked at the FileChooser field wizard, which, as expected, supports single files and have also looked at other forum posts but couldn't find anything.

Thanks for your insights!

-unmil.
Re: Uploading all files in a directory tree in Scout 9 [message #1820915 is a reply to message #1820912] Fri, 31 January 2020 09:35 Go to previous messageGo to next message
Eclipse UserFriend
Hi Unmil

Scout 9 and the latest version 10 does not support upload of directories, since this feature is not supported yet by all major browsers (like iOS Safari).

The Scout framework provides some features for file-upload on the server-side per Scout session. You could use these features to build a custom widget, that uses the "Directory Upload" feature of the browser, and upload each file to the UI-server. Maybe you could sub-class the existing FileChooser widget.

Cheers,
André

Re: Uploading all files in a directory tree in Scout 9 [message #1820916 is a reply to message #1820915] Fri, 31 January 2020 09:40 Go to previous message
Eclipse UserFriend
Thanks for the quick reply. Will give it a try. I am certain that I will have more questions as I try this and will follow-up.
-unmil.
Previous Topic:Disabling the indicated column header in the table
Next Topic:Update Table Header Text after Smart field value Change
Goto Forum:
  


Current Time: Mon Jul 07 20:25:49 EDT 2025

Powered by FUDForum. Page generated in 0.04565 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top