![]() |
| | #1 |
| Trying to Learn C Join Date: Jul 2009 Location: Brazil
Posts: 32
| 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. Thanks, Nathan Paulino Campos |
| nathanpc is offline | |
| | #3 |
| Trying to Learn C Join Date: Jul 2009 Location: Brazil
Posts: 32
| 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 |
| nathanpc is offline | |
| | #4 |
| Guest Join Date: Aug 2001
Posts: 4,923
| >> but what i want is only the code of a very simple download program So you want someone to sit down and write you a sample file downloader? Give me a break. If you want to do it "by hand" look into sockets and the http spec. Otherwise, use an existing library/utility. |
| Sebastiani is offline | |
| | #5 | |
| Senior software engineer Join Date: Mar 2007 Location: Portland, OR
Posts: 5,381
| Quote:
__________________ "Congratulations on your purchase. To begin using your quantum computer, set the power switch to both off and on simultaneously." -- raftpeople@slashdot | |
| brewbuck is offline | |
| | #6 |
| Trying to Learn C Join Date: Jul 2009 Location: Brazil
Posts: 32
| Hello Sebastiani, Sorry, but i'm trying to learn C, i'm a VB developer and a litle bit in Java, but C is what i want to play with.
__________________ Eee PC 904HD White | Windows XP Home Edition | My Site Google Talk: eeepc904@gmail.com ICQ: 424738586 Add me and let's talk about C and C++! |
| nathanpc is offline | |
| | #7 |
| and the Hat of Guessing Join Date: Nov 2007
Posts: 8,740
| |
| tabstop is offline | |
| | #8 |
| Registered User Join Date: Apr 2007
Posts: 127
| On Windows, just use Shell api (1 line of code) or COM or Net (10 lines) |
| Alex31 is offline | |
![]() |
| Tags |
| c++, cpp, download, file, io-file |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Create Copies of Files | Kanshu | C++ Programming | 13 | 05-09-2009 07:53 AM |
| Reading .dat files from a folder in current directory... | porsche911nfs | C++ Programming | 7 | 04-04-2009 09:52 PM |
| Error opening files in a different dir | Ozzie | C++ Programming | 3 | 10-09-2008 06:55 AM |
| Working with muliple source files | Swarvy | C++ Programming | 1 | 10-02-2008 08:36 AM |
| IE 6 status bar | DavidP | Tech Board | 15 | 10-23-2002 05:31 PM |