[twsocket] webpage image source

2009-05-01 Thread Xxxx Xxxx
Hi, I'm using httpcli to save a webpage html doc and I extract all of it's image locations to a text file by saving the 'IMG SRC=' tags. Afterward I want to download all of the images, but how can I determine the TRUE location of the images? For example, say the image tag is: 'IMG

Re: [twsocket] webpage image source

2009-05-02 Thread Xxxx Xxxx
I thought that the root dir could be something definable, and therefore may be different than the domain name? Like the root dir for www.geocities.com/Athens/111/delphi/docs/sockets.html would be www.geocities.com/Athens/111/delphi? But you say it would be www.geocities.com, correct? Thanks for

Re: [twsocket] webpage image source

2009-05-03 Thread Xxxx Xxxx
One more question: when I try to retrieve some images using the appended www., the image does not download, but when I omit the www., it downloads correctly. Try doing a GET request for notepad.com/images/firebug.gif and it works. Try www.notepad.com/images/firebug.gif and it does not. Either way

Re: [twsocket] webpage image source

2009-05-03 Thread Xxxx Xxxx
This is what I thought also, but I have FollowRelocation set to True and it still downloads these images as invalid - like in the 'firebug.gif' example. There is data there, but the image won't display. -Original Message- From: Francois PIETTE [francois.pie...@skynet.be] Sent: 5/3/2009

Re: [twsocket] webpage image source

2009-05-03 Thread Xxxx Xxxx
Even the main logo of google.com vs. www.google.com gives me the same problem: Try doing a GET on google.com/intl/en_ALL/images/logo.gif - this does not download correctly for me with 'FollowRelocation' set to 'True'. -Original Message- From: Francois PIETTE [francois.pie...@skynet.be]

Re: [twsocket] webpage image source

2009-05-04 Thread Xxxx Xxxx
://www.overbyte.be - Original Message - From: Xxxx Xxxx delphi...@mail2computers.com To: twsocket@elists.org Sent: Sunday, May 03, 2009 8:37 PM Subject: Re: [twsocket] webpage image source This is what I thought also, but I have FollowRelocation set to True and it still downloads these images

Re: [twsocket] webpage image source

2009-05-04 Thread Xxxx Xxxx
The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: Xxxx Xxxx delphi...@mail2computers.com To: twsocket@elists.org Sent: Monday, May 04, 2009 7:56 PM Subject: Re: [twsocket] webpage image source I tried HttpCli1.RcvdStream := nil