Closed
Bug 459423
Opened 16 years ago
Closed 15 years ago
Queued downloads can be given identical filenames, resulting in overwriting
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 301328
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: dataloss, Whiteboard: DUPEME)
Yesterday, I alt+clicked a bunch of links to various files named 001.mpg, and Firefox decided to save the last five all as 001(2).mpg before any of those five actually started downloading. When they did start downloading, four of them got clobbered. Mac, trunk, non-debug
Comment 1•16 years ago
|
||
From my memory of the code, this is definately possible... We probably should resolve conflicts as they are started (or stuff a placeholder file for pending DLs), rather than on first demand.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•16 years ago
|
||
I think the UI doesn't show the right filename, but I thought we didn't overwrite. I could be wrong though...
Comment 3•15 years ago
|
||
The files are correctly renamed on the filesystem, but the UI shows the "original" filename. When downloading multiple files of the same name (report.xls for example) you get multiple entries in the download manager for report.xls, and on disk, get report.xls, report-1.xls, report-2.xls etc. Unfortunately, clicking on any of the "report.xls" entries in the download manager just opens the first download, and it is impossible to open the others by clicking on the entries in the download manager. Possible solution: instead of listing the files by the original name in the download manager, list them by the actual filename on disk...
Updated•15 years ago
|
Status: NEW → UNCONFIRMED
Ever confirmed: false
Whiteboard: DUPEME
Updated•15 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•