wood burning stoves*
The moose likes Servlets and the fly likes FTP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "FTP" Watch "FTP" New topic
Author

FTP

ram shyam ravi
Greenhorn

Joined: Sep 20, 2002
Posts: 14
hi
Can anyone pls send me code developed in servlets to do FTP upload and download.
bye
Rgds
Ravi.
chanoch wiggers
Author
Ranch Hand

Joined: May 24, 2001
Posts: 245
why do you want to upload using ftp? why use a servlet solution to do ftp? Let me say that I havent as yet seen a point to doing ftp with a servlet, just as it is very rare to see servlets being used for smtp - i think you will find that most people will point you in the direction of an alternative solution - for one thing, you would need a container that provides the support for ftp that the servlet would need. Since FTP is a very clearly defined process (it is not like a content management system but rather (if rather crudely) a system for transferring files to remote destinations. As a result, unless you are wanting to provide some kind of CMS system for web management that uses FTP, building the container would obviate the need for the servlet itself.


chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
Randy Motluck
Greenhorn

Joined: Jul 19, 2002
Posts: 10
For FTP you might want to try Freshmeat:
http://freshmeat.net/projects/javaftp_api/?topic_id=20%2C87%2C89%2C136%2C142
This is something a coworker used. It is a client API.
-Randy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FTP