Download Files

This is a discussion on Download Files within the C++ Programming forums, part of the General Programming Boards category; Hello,
How i can make a program that the user can download files, like wget that the user type this: ...

Download Files

Hello,
How i can make a program that the user can download files, like wget that the user type this: wget http://www.testpage.com/file.pdf and the program download the file, i want this syntax, my program name and the site, then the user press enter and my program start the file download, please if you are going to post the code, please post the full code, because i'm starting in C++ development.

Hello bithub,
Thanks because of the wget source code, but what i want is only the code of a very simple download program, because i'm starting in the C++ development, than i want to learn, and while i get better in C++, i improve the aplication, you understand.

Hello bithub,
Thanks because of the wget source code, but what i want is only the code of a very simple download program, because i'm starting in the C++ development, than i want to learn, and while i get better in C++, i improve the aplication, you understand.

Thanks,
Nathan Paulino Campos

wget is not exactly a complex application. If you want a "very simple download program" then wget is exactly what you want.