I would need to download pictures from a FTP server (who needs login/passwod authentification) via my java application. What is the most efficient way to do it ?
Thank you very much.
Regards.
I would need to download pictures from a FTP server (who needs login/passwod authentification) via my java application. What is the most efficient way to do it ?
Thank you very much.
Regards.
You'll need a suitable Java FTP client library. A topic that has been previously discussed here:
What Java FTP client library should I use?
The exact manner of downloading a file from the FTP server will vary a bit depending on the library you choose.
try using apache-commons-net api, its quick and simple.
here is a sample on how to use commons-net