Downloading images...

This is a discussion on Downloading images... within the C Programming forums, part of the General Programming Boards category; Could anyone point me to a piece of code that downloads an image? edit: Maybe I can explain this better... ...

  1. #1
    Registered User Dcower's Avatar
    Join Date
    Aug 2002
    Posts
    8

    Downloading images...

    Could anyone point me to a piece of code that downloads an image?

    edit: Maybe I can explain this better... I want to create a program where the user types in a url of a image (ex: http://www.cprogramming.com/cprog.gif) and it downloads the image to the programs folder.

    I know how to do everything to create that program except the downloading part... Any help would be appreciated.

    dillon
    Last edited by Dcower; 09-29-2002 at 06:10 PM.

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Try this function:

    Code:
    void *GetImageFromInternet(const char *url);
    Okay seriously, you can just make a simple socket program. This is a very easy thing to do but there are many posts on the boards reguarding this subject so I'll let you look at those.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. mirroring website with images on external host
    By cyberfish in forum Tech Board
    Replies: 1
    Last Post: 09-08-2008, 07:50 PM
  2. Images
    By _Nate_ in forum C Programming
    Replies: 4
    Last Post: 05-18-2008, 11:50 PM
  3. images, icons, and cursors, OH MY!
    By DarkViper in forum Windows Programming
    Replies: 3
    Last Post: 01-07-2003, 02:26 PM
  4. STL, Queues And Images
    By simly01 in forum C++ Programming
    Replies: 3
    Last Post: 06-24-2002, 01:31 PM
  5. A simple question on Images....
    By LonelyPlanetWa in forum C Programming
    Replies: 7
    Last Post: 05-20-2002, 08:34 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21