Can I do this for local files?
What happens when you do this:
Code:
Winsock1.SendData "GET /lanmannt.bmp" & vbCrLf & vbCrLf
Does it have to be a file on a Web server only? Can I do this with a local file on my disk? I guess I can't because what you send is ultimately a regexp command in a string, and when it is recieved, the server executes the command. Its not the file being sent. And so when I send something like, say:
Code:
Winsock1.SendData "GET C:/lanmannt.bmp" & vbCrLf & vbCrLf
it won't work. Am I right?