0

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.

Vincent Roye
  • 2,751
  • 7
  • 33
  • 53

2 Answers2

1

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.

Community
  • 1
  • 1
Kris
  • 14,426
  • 7
  • 55
  • 65
0

try using apache-commons-net api, its quick and simple.

here is a sample on how to use commons-net

Anantha Sharma
  • 9,920
  • 4
  • 33
  • 35