Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:04 Go to next message
Unmil Karadkar is currently offline Unmil KaradkarFriend
Messages: 4
Registered: January 2020
Junior Member
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 14:35 Go to previous messageGo to next message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 204
Registered: September 2012
Location: Baden-Dättwil, Switzerla...
Senior Member
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é



Eclipse Scout Homepage | Documentation | GitHub
Re: Uploading all files in a directory tree in Scout 9 [message #1820916 is a reply to message #1820915] Fri, 31 January 2020 14:40 Go to previous message
Unmil Karadkar is currently offline Unmil KaradkarFriend
Messages: 4
Registered: January 2020
Junior Member
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: Fri Dec 13 03:47:48 GMT 2024

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

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

Back to the top