Thread: getting an image from a server.

  1. #1
    Registered User
    Join Date
    Oct 2001

    getting an image from a server.

    I'm attempting to get an image from a server using the HTTP request but the image won't display right. I'm just connecting with a telnet server and the content-length field matches what the file should be but its comming out bigger and when i look at the first few lines of the image their different then the image when i just do a save as. heres when i been using didn't know if i was missing anything

    GET /images/logo.gif HTTP/1.1
    Accept: */*
    Connection: Keep-Alive

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Do you know how to display a GIF properly?


  3. #3
    Registered User
    Join Date
    Oct 2001
    i'm just saving it as a gif right now and using a normal image program to display it so its nothing on that end.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem reading tiff image files?
    By compz in forum C++ Programming
    Replies: 9
    Last Post: 10-30-2009, 04:17 AM
  2. Serve image with C++ http server
    By seaders in forum C++ Programming
    Replies: 0
    Last Post: 06-11-2008, 05:40 AM
  3. Where's the EPIPE signal?
    By marc.andrysco in forum Networking/Device Communication
    Replies: 0
    Last Post: 12-23-2006, 07:04 PM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  5. socket question
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 07-19-2002, 01:54 PM
Website Security Test