Two Laptop Bag*
The moose likes Distributed Java and the fly likes FTP in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "FTP in java" Watch "FTP in java" New topic
Author

FTP in java

Akilan Paul
Ranch Hand

Joined: May 22, 2006
Posts: 40
hi
i have one requirement. i want to download files frequently. i need to write a ftp- java programme that has to restart downloading even it stops. automatically it has to restart downloading process. without human intervention it has to resume the down load process.

Regards,
Aki
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

For downloading you could use the apache commons project (http://commons.apache.org/net/api/org/apache/commons/net/ftp/FTPClient.html) which also offers you the possibility to restart a download (if it's supported by the server).
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: FTP in java
 
Similar Threads
Where does FTP process runs
ftp with java
Resume download using ftp url connection
where's the "sharpen your pencil" answer?
ftp files to a different server