Hello,
I’m a free user on Webhost.
I’ve a website and I want to send a file from my home application with a ‘home made’ http request :
"POST /file.php HTTP/1.0\r\n"
"Host: xxxx.com\r\n"
"Content-type: multipart/form-data; boundary=\"Abcdefghijklmnopqrstuvwxyz\"\r\n"
"Content-Length:163\r\n"
"\r\n"
"--Abcdefghijklmnopqrstuvwxyz\r\n"
"Content-Disposition: form-data; name=\"file\"; filename=\"myfile.txt\"; content-Type:text/plain\r\n"
"\r\n"
"test"
"--Abcdefghijklmnopqrstuvwxyz--\r\n"
"\r\n"
I think the syntaxe is correct but when I execute the http request, my php script file send me back an Error 3 on my file.
Could you help me ?
Thanks you.