Closed Thread
Results 1 to 3 of 3

Thread: File Downloader

  1. #1
    Void's Avatar
    Void is offline Programming Expert
    Join Date
    Jun 2006
    Posts
    410
    Rep Power
    23

    File Downloader

    I'm creating a program in Manged C++ .NET 2.0 that needs to download a file. I've done sockets and everything but I cant find any information on download a file.

    I need to download a file from http (port 80). Can anyone help point me in the right direction?
    Void

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    TkTech's Avatar
    TkTech is offline The Crazy One
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    1,412
    Blog Entries
    1
    Rep Power
    31
    With most http libs, simply request the file as if it was a document. The server will send a mime-type header on how to handle it, so your app will know its a file. then write the contents of the full stream to a file and thats it.

  4. #3
    Void's Avatar
    Void is offline Programming Expert
    Join Date
    Jun 2006
    Posts
    410
    Rep Power
    23
    But how do I keep it connected and read each byte in?
    Void

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [C] HTTP file downloader
    By jakash3 in forum Classes and Code Snippets
    Replies: 0
    Last Post: 06-12-2011, 06:56 PM
  2. [PHP] Megavideo Downloader
    By luruke in forum Classes and Code Snippets
    Replies: 14
    Last Post: 06-12-2011, 04:16 AM
  3. hacking an image downloader ...
    By Kousuke in forum Python
    Replies: 8
    Last Post: 01-17-2011, 03:47 AM
  4. Netlog picture downloader
    By m477hi45 in forum Member Software/Projects
    Replies: 0
    Last Post: 05-31-2010, 11:04 PM
  5. newbie- image downloader
    By yoda855 in forum Visual Basic Programming
    Replies: 34
    Last Post: 08-10-2006, 09:36 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts