mi****@gmail.com wrote:
I need to send a file that is selected from a input type = file html
control to the server through a ajax method.
While placing a file on the server is a routine activity,
the method you have in mind will not work.
If your going to use <input type="file" ...> , you'll
need a cgi,servlet or similar on the server to receive the file.
If you aquire th file in some other fashion , perhaps building it
with a javascript function . you might be able to use XMLHTTP
and "put" the file. I assume this latter instance is what you were
thinking of when you said "ajax"
--
--.
--=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML, CSS,Javascript
--=<> Internet Programming since 1994 <>=-- DHTML NSAPI TCP/IP
--=<>
http://resume.drclue.net <>=-- AJAX, SOAP, XML, HTTP
--=<>
http://www.drclue.net <>=-- SERVLETS,TCP/IP, SQL
--.