P
pbd22
Hi.
I am trying to write a multifile upload script in javascript. So,
before the upload, my html looks like this:
<input type="file" id="file_0">
<input type="file" id="file_1">
<input type="file" id="file_2">
<input type="file" id="file_3">
<input type="file" id="file_4">
<input type="file" id="file_5">
<input type="file" id="file_6">
<input type="file" id="file_7">
I know, starting in FF 3.x, xhr binary methods are possible such as:
xhr.open("POST", "cgi-bin/posthandler.pl");
xhr.overrideMimeType('text/plain; charset=x-user-defined-binary');
xhr.sendAsBinary(file.getAsBinary());
But, how do I upload multiple files in "all versions" of Firefox and
"all versions" of IE? Is it possible? More detail needed.
Thank you.
I am trying to write a multifile upload script in javascript. So,
before the upload, my html looks like this:
<input type="file" id="file_0">
<input type="file" id="file_1">
<input type="file" id="file_2">
<input type="file" id="file_3">
<input type="file" id="file_4">
<input type="file" id="file_5">
<input type="file" id="file_6">
<input type="file" id="file_7">
I know, starting in FF 3.x, xhr binary methods are possible such as:
xhr.open("POST", "cgi-bin/posthandler.pl");
xhr.overrideMimeType('text/plain; charset=x-user-defined-binary');
xhr.sendAsBinary(file.getAsBinary());
But, how do I upload multiple files in "all versions" of Firefox and
"all versions" of IE? Is it possible? More detail needed.
Thank you.