This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Uploading Files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Uploading Files" Watch "Uploading Files" New topic
Author

Uploading Files

Arpit Gadle
Ranch Hand

Joined: Dec 16, 2008
Posts: 69

Hello,
I think this not the right forum to ask this question. I am a newbie and wants to know, How to upload files using Java. For emailing, we use Java Mail, which API should i use for uploading files.


Regards,
Arpit
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41129
    
  45
What kind of client would this be - desktop app, browser, something else? What access methods to the server are available - HTTP, shared directory, FTP, WebDAV, something else?


Ping & DNS - my free Android networking tools app
Arpit Gadle
Ranch Hand

Joined: Dec 16, 2008
Posts: 69

Dear Ulf,
Thanks,
I am developing a web-application for real estate clients where they, will upload files relating to current status of property,porposed property etc. and will maintain other details of their projects through this web-application.

This project is much like CMS.

Need Help, Will JSF be helpful for me in developing the web-application. I am planning to use Struts.


Regards,
Arpit U. Gadle


Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41129
    
  45
Check out the Apache Commons FileUpload library - it handles HTTP file uploads.

JSF and Struts are both web app frameworks - they both solve some of the problems frequently encountered when developing web sites (although they do so in rather different ways). There's no way to recommend for or against one or the other without knowing a lot more about the situation.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Uploading Files
 
Similar Threads
Uploading multiple image files
Check ftp download files finish
Fastest way of uploading large files into the server location.
SFTP in a Java application
sending fax using java