Closed Bug 373866 Opened 17 years ago Closed 15 years ago

support uploading multiple files <input type="file" multiple>

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 63687

People

(Reporter: BijuMailList, Unassigned)

References

()

Details

(Keywords: helpwanted, Whiteboard: [parity-safari] [parity-opera])

By bug 44464 ([backend][FILE]support uploading multiple files) 
mozilla backend supports multiple file uploading.

But it was not implemented in GUI due lack of a std attribute.

Now with http://www.whatwg.org/specs/web-forms/current-work/#file
we should implement support for <input type=file min=0 max=10 >
(In reply to comment #1)
> isn't this a duplicate of bug 63687?

I thought so, but actually NO
That is talking about creating screens to replace OS provided common dialog control.
And that should be the ultimate goal.

But for now I will be satisfied if I can select multiple files with current interface. ie, with the OS provided common dialog control. 

Moz has to just 
1. enable multiselect when it call OS dialog.
2. Keep comma delimited file paths in the 
   current textbox area of <input type=file>
3. send all the files to server when user submit the form.
Keywords: helpwanted
OS: Windows XP → All
Hardware: PC → All
Whiteboard: [parity-safari] [parity-opera]
Flags: wanted1.9.1?
No new features for 1.9.1.
Flags: wanted1.9.1? → wanted1.9.1-
The "min" and "max" attributes have been replaced with the "multiple" attribute in current HTML 5 draft. Updating bug title and URL.

An update on other browser supporting this feature:
* the "multiple" attribute is supported by current WebKit browsers (Safari 4, Chrome 2).
* Opera does not support HTML 5 "multiple", but still kind of supports the "min" and "max" attributes per the obsolete Web Forms spec ("kind of", since Opera's multifile upload doesn't work with PHP scripts due to http://bugs.php.net/bug.php?id=11998).
Summary: support uploading multiple files <input type=file min=0 max=10 > → support uploading multiple files <input type="file" multiple>
(In reply to comment #2)
> (In reply to comment #1)
> > isn't this a duplicate of bug 63687?
> 
> I thought so, but actually NO
> That is talking about creating screens to replace OS provided common dialog
> control.

No, bug 63687 isn't about replacing the dialog -- it's about figuring out a UI for the embedded file-upload <input> control that can support multiple files.  (It's possible that the file-selector dialog could be replaced/tweaked as *part* of that bug, but bug 63687 comment 22 suggests that we're sticking with the standard dialog for now.)

> Moz has to just 
> 1. enable multiselect when it call OS dialog.
> 2. Keep comma delimited file paths in the 
>    current textbox area of <input type=file>
> 3. send all the files to server when user submit the form.

That all sounds like one potential solution for bug 63687. (see e.g. bug 63687 comment 26 and the few comments after it)

Marking as duplicate.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
v.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.