Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

FTP in java  RSS feed

 
Akilan Paul
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!