wood burning stoves 2.0*
The moose likes Struts and the fly likes Upload all the files in the directory to server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Upload all the files in the directory to server" Watch "Upload all the files in the directory to server" New topic
Author

Upload all the files in the directory to server

naveen chedella
Greenhorn

Joined: Dec 05, 2008
Posts: 8
Is there any way of uploading all the files in a directory to the server? For my requirement,user enters the directory name from the browser and i need to upload all the files to server and than process all the files.I am using struts1.1 . FormFile uploads only one file and i want to upload all the files from the directory.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

You'll have to use special tools to be able to upload multiple files from a browser. There are a few flash and applet based solutions available which you can use to upload multiple files or a folder. Search on google a little...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
jQuery in Action, 2nd edition
 
subject: Upload all the files in the directory to server
 
Similar Threads
uploading files in JSP
file upload changing the src path
Up loading files from client
File Upload + Destination directory.
how upload all files in a local folder to server