File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Uploading an entire folder using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Uploading an entire folder using Java" Watch "Uploading an entire folder using Java" New topic

Uploading an entire folder using Java

Jason Moor

Joined: Feb 06, 2002
Posts: 1
I am making websites for some teachers at a public high school. Part of this site will allow them to post web pages of individual student grades generated by another program, but this necesitates a file upload of >60 files for each time they update the grades, which makes the standard way of uploading using a form and "Browse..." completely impractical.
So, I was wondering if anyone can help me write a script (or write one for me ) that would allow the users to upload an entire folder (and the files within the folder, of course) to the server. I am mainly a Perl programmer, but I'm in the process of learning JAVA.
I appreciate all the help I can get...source code, suggestions, tips, whatever.
Les Dsouza

Joined: Jan 29, 2002
Posts: 27
This can be done using ftp.
I agree. Here's the link:
subject: Uploading an entire folder using Java
It's not a secret anymore!