Open Bug 1228717 Opened 10 years ago Updated 2 years ago

Resuming download deletes file from another completed download with same filename

Categories

(Toolkit :: Downloads API, defect, P3)

42 Branch
defect

Tracking

()

People

(Reporter: send2adtc, Unassigned)

References

Details

(Keywords: dataloss)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 Build ID: 20151029151421 Steps to reproduce: Similar bug #236514 is verified fixed, but I just had this happen to me on 42.0 1. Download a fairly large file by right-clicking a link and choosing to "save link as". Enter a filename to save the file. It should take at least a few minutes to give you time for next step. 2. Go to the download manager and CANCEL the download. The part file and the file are deleted. 3. Download the file again by right-clicking the link and choosing to "save link as". Enter the same filename (and choose same path) as step 1. 4. Wait for the second download to complete. Once done, verify that the file is fully downloaded. 5. Double-click on the cancelled download (to retry). Note that the download has started again. Actual results: Check for the file again, and note that the file which was fully downloaded has been deleted, and the file is being downloaded again. It is being overwritten without any confirmation or notification. Expected results: If the file already exists from another download in the download manager, retrying the cancelled download should save it to a renamed file (such as "filename (1).ext").
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0 20151127030231
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Component: Untriaged → Download Manager
Ever confirmed: true
Product: Firefox → Toolkit
Severity: normal → S3
See Also: → 524028
Keywords: dataloss
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.