[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MSXML3] using file upload via XMLHTTP
- From: Adam Van Den Hoven <Adam.Hoven@bluezone.net>
- To: "XML Development Mailing List (E-mail)" <email@example.com>
- Date: Mon, 30 Jul 2001 12:41:30 -0700
I have an interesting problem.
We're building an IE5.x based UI that needs to upload images to our server
(among other things). Typically one would use the file upload element to do
this. However, we want to use XMLHTTP as the only route by which data is
transfered between the browser and the server. How would one do the file
upload? The server side code we have done many times. Its just the client
code that has us worried.
My first thought is to do the following:
objXMLHTTP.open("POST", "http://someurl/uploadimg.asp", False);
but the common wisdom around here is that it won't work. The code came out
of my head so I may have some syntax errors in there somewhere but its the
idea of sending the request passing the form object that I'm interested in.
Any other ideas would be appreciated.
Adam van den Hoven
Internet Software Developer
tel. 604 685 4310 ext. 260
fax 604 685 4391
> Blue Zone makes you interactive. http://www.bluezone.net/