General information
Category:
Internet applications
Title:
ASPHTTP specific question
I am using ASPHTTP.DLL (evaluation version) in order to pass data between a client and server. I have been able to do most things without a problem. However, one thing that does not seem to work is this ...
oASPHTTP.PostData = "data="+filetostr(cFilename)
When I try to send the contents of a file to the server by POSTing it as shown above, the data that arrives is only 4 or 5 bytes long. I suspect it is because the filetostr(cFilename) portion of it contains bytes which have a value of zero (00) and this causes the system to believe it has reached the end of the string (as in C language). Anyone know anything about this ?
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only