File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 9293
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Upload all the files in the directory to server