ie / win file upload problem

couzteau

Registered
hello,
i've created a webpage that uses the following form to upload files to a server.

<form action="http://mydomain/cgi-bin/fileupload.pl" name="upload_form" enctype="multipart/form-data" method="POST">
file <input name="userfile[]" type="file" size=40><p>
file <input name="userfile[]" type="file" size=40><p>
file <input name="userfile[]" type="file" size=40><p>
<input type="button" name="sendbutton" value="jetzt senden" onClick=' document.upload_form.submit();'>
</form>

this works on all platforms with all current browsers except internet explorer on windows. ie on mac x/9 works fine. ns 4.7-7.x always works. but ie/win creates emtpy files. an ugly workaround is to limit the number of files to upload at a time 1.

<form action="http://mydomain/cgi-bin/fileuoload.pl" method="post" enctype="multipart/form-data">
<input type="file" name="myfile" accept="text/*" maxlength="2097152">
<input type="submit" value="upload"><input type="reset">
</form>

does anybody know a way to send more than one file at a time with win/ie? that would really help me.

thanx

couzteau
 
Back
Top