Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASPHTTP specific question
Message
From
24/05/2001 11:28:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
ASPHTTP specific question
Miscellaneous
Thread ID:
00510937
Message ID:
00510937
Views:
49
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
Map
View

Click here to load this message in the networking platform