Sorry about the code tags.
I've tried the code you attached and edited
Winsock1.RemoteHost = "codefaction.net" to the top level of my site
Send_HTTP_Header Winsock1, "/index.htm" to the path and file name (.txt) of a file I know isn't there
but the app insists the file is "found".
Is this because I am not looking for an HTML file? So when the .txt file is missing it is creates something like when trying to download an .mdb file?