With this html I upload a file to the (NT7) webserver:
<form id="myid" enctype="multipart/form-data" method="post" action="#">
<input id="fileupload" name="myfile" type="file" />
<input type="submit" value="submit" id="submit" />
</form>
I see it in the log-post-window of the webserver. Filename, content-length, all is there:
POST /_CONTACT HTTP/1.1
Host: localhost
Connection: keep-alive
Content-Length: 63382
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://localhost
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MLSROX1S3Hs9fiY
Referer: http://localhost/_CONTACT
Accept-Encoding: gzip,deflate,sdch
Accept-Language: nl-NL,nl;q=0.8,en-US;q=0.6,en;q=0.4
Cookie: SESSIONID=582481416
------WebKitFormBoundary7MLSROX1S3Hs9fiY
Content-Disposition: form-data; name="myfile"; filename="NetTalk.htm"Question: where/how can I get to this in the webhandler.
Tried a few things in the handlefile and GetContent but no luck.
Which var's hold the filename and content?
TIA,
Nick