I'm writing a program to send batches of data entry to my server via a script. problem is, I want to upload a file via post and need to fool the script. I have read the RFC of "Form-based File Upload in HTML" (http://www.faqs.org/rfcs/rfc1867.html) and have made some progress, but I just cant quite get it right.
Does anyone know or can point me to it, the headers needed to upload a file?
I know I need to:
POST /test.php HTTP/1.1
Host: hostname.com
Accept: ...
content-type: multipart/form-data, boundary=AaB03z...
I get an error 501, invalid method: --AaB03x...
any ideas?
thank you!
-dan