kgopi
kgopi

Reputation: 151

How to download a file from ftp server to local machine using java

I want to download a zip file from FTP server to my local machine.

And that .zip file folder structure is like a\b\c\d.zip.

Please help me to do that

Thanks in advance.

Upvotes: 2

Views: 21079

Answers (1)

Jabir
Jabir

Reputation: 2866

The following post/blog/link explains how to download file using Apache Commons Net

http://www.mysamplecode.com/2012/03/apache-commons-ftpclient-java-example_16.html

http://www.dreamincode.net/forums/topic/32031-ftp-in-java-using-apache-commons-net/

Hope it helps.

Upvotes: 5

Related Questions