Results 1 to 29 of 29

Thread: [RESOLVED] [Problem] Download Image From Url Using Winsock

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2013
    Posts
    33

    Resolved [RESOLVED] [Problem] Download Image From Url Using Winsock

    Hey There Programmers,

    I can't download an image from an specific url, like: http://example.com/example.jpg

    The header I send is:
    GET /example.jpg HTTP/1.1

    The response in DataArrival event is (forexample
    Code:
    ÿØÿàŸÏйàCzáGéR‰ˆã¿øR‚¬@#kvÇA@[|ño}6)ËkmæÜEµº|ƒœÔ®8çŸïSCž~¾‚€"Ç‘{üƒŠ_²ÚñþŽžß(ÿ{S8Ǩÿ
    Of course I put the data in a string variable and some weird characters appear
    So the thing is how can I save the DataArrival As an Image?

    Thanks in Advance.
    Last edited by aliforever; Jul 28th, 2014 at 01:12 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width