Posted by pbd22 on 02/01/07 18:45
hi.
i am trying to create a hidden iframe in my form that passes
some files for upload to the server. kind of a tricky way to
provide the user an "ajax-style" feel during upload.
the problem is that the files never make it to the server - the
..net httpfilecollection is always zero. after doing some
close inspection using the venkman javascript debugger, i
have discovered that the iframe contenttype is text/html.
as in uderstand it, uploads always have to be multipart/form-data.
______________________________________________________
how do i engineer my upload form so the iframe is the correct
contenttype?
______________________________________________________
i have done the obvious which is sent the enctype="multipart/form-
data"
in the form tag that encases the input files (type=file) for uplaod.
any ideas? i would be happy to provide code or a venkman summary
if you ask - just didnt want to overdo it. :)
thanks.
[Back to original message]
|