Reputation: 83
I am trying to make an FTP client from scratch in Java and so far I can connect to the FTP server. Im not allowed to use Apache to download a file, so my question is: how do I download a file from a remote FTP-server? I've now spent the last 2 days trying to find a guide but it seems impossible to find one which does not require Apache.
Any help is appreciated, thank you.
Upvotes: 0
Views: 2577
Reputation: 7956
You can do this quite straightforward with an URLConnection
. An example is outlined in this post.
Upvotes: 1