Information générale
Catégorie:
Applications Internet
Titre:
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 ?
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement