hi, i'm wondering if my mail 2 weeks ago was received... or am i too silly to ask correct, or is this problem off topic? could someone please be so kind and send a short reply - thanks a lot
the summary of the problem is: i need wget to send this header CONTENT_TYPE: multipart/form-data; boundary=-...-202481336020143 here's my complete last mail: ============================= i want wget to post a form which contains 3 fields and a file to upload (enctype="multipart/form-data") at http://www.pchelpware.com/creator/index.html i use wget --post-file C:\form.bin http://sc.uvnc.com/cgi-bin/upload2.pl and found out that "C:\form.bin" has to look something like: -----------------------------202481336020143 Content-Disposition: form-data; name="upload_file"; filename="test.zip" Content-Type: application/zip [here comes the binary of the zip-file] -----------------------------202481336020143 Content-Disposition: form-data; name="userid" foo -----------------------------202481336020143 Content-Disposition: form-data; name="password" foobar -----------------------------202481336020143 Content-Disposition: form-data; name=".submit" Upload -----------------------------202481336020143-- so far, so good. but it doesn't work because wget is sending the header CONTENT_TYPE: application/x-www-form-urlencoded while the server of course expects CONTENT_TYPE: multipart/form-data; boundary=-...-202481336020143 but if i use the --header option, this header becomes HTTP_CONTENT_TYPE: multipart/form-data; boundary=-...-202481336020143 and wget is still sending CONTENT_TYPE: application/x-www-form-urlencoded how can i force wget to send the needed CONTENT_TYPE? or what else am i doing wrong? regards, -- Gerhard Blum mailto:[EMAIL PROTECTED]
