Receiving files from websites?

How would i make a simple CLI program recieve data from a server? Because i want it to download files from my website.
You might want to have a look at the File Tranfer Protocol.
Topic archived. No new replies allowed.