File Upload with POST

jayclarke112

New member
Joined
Jan 31, 2006
Messages
3
Programming Experience
Beginner
I am trying to upload files to a server using VB.NET. I have a PHP server script that uses the POST method to receive the files, and also 2 parameters, ID and Destination. I have successfuuly tested the script by writing an HTML page with a form that POST's a file and parameters.

I am now trying to use the same script but to upload a file from Windows Mobile 5 PDA. I have been trying all sorts with HttpWebRequests and setting the method to POST but everytime it fails, usually with a ProtocolViolation?.

If any one knows how to upload a file using POST in VB.NET, some pointers or links would be appreciated.

Regards
 
Back
Top