Closed Bug 263149 Opened 19 years ago Closed 19 years ago

Numbered files get badly renamed when downloading

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 231048

People

(Reporter: roxspring, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10

If you download a file named foo-1.0.zip through the download manager and
foo-1.0.zip already exists in the download directory, the downloaded file is
named foo-2.0.zip which has completely different meaning.  The knock on effect
is that now, if you later download a foo-2.0.zip it becomes foo-3.0.zip!

Reproducible: Always
Steps to Reproduce:
1. Download
http://ftp.plig.net/pub/apache/dist/jakarta/commons/cli/binaries/cli-1.0.zip
2. Download the same link again
3.

Actual Results:  
The first file is stored as cli-1.0.zip, the second as cli-2.0.zip

Expected Results:  
Not absolutely sure, but finding cli-1.0.zip and cli-1.0-2.zip seems obvious.  A
clearer alternative might be that the second be called "cli-1.0.zip (2)"

Attempted to reproduce in Mozilla 1.8a5 but couldn't get the Download Manager to
take over storing files so can't be sure if it applies there.

*** This bug has been marked as a duplicate of 231048 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.