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 will work in my web browser, but with HttpCli it only works without "www."
Is it possible to determine which format to use with HttpCli besides doing a HEAD every time? Thanks for the help again. <-----Original Message-----> >From: Francois PIETTE [francois.pie...@skynet.be] >Sent: 5/2/2009 2:38:16 PM >To: twsocket@elists.org >Subject: Re: [twsocket] webpage image source > >>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? > >Correct: The root is www.geocities.com. > >-- >francois.pie...@overbyte.be >The author of the freeware multi-tier middleware MidWare >The author of the freeware Internet Component Suite (ICS) >http://www.overbyte.be > >-- >To unsubscribe or change your settings for TWSocket mailing list >please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket >Visit our website at http://www.overbyte.be >. > <span id=m2wTl><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR>Get the Free email that has everyone talking at <a href=http://www.mail2world.com target=new>http://www.mail2world.com</a><br> <font color=#999999>Unlimited Email Storage – POP3 – Calendar – SMS – Translator – Much More!</font></font></span> -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be