Closed Bug 278093 Opened 20 years ago Closed 20 years ago

Numeration of double downloads corrupts file name

Categories

(Toolkit :: Downloads API, defect)

1.7 Branch
x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 231048

People

(Reporter: complexymetron, Assigned: bugs)

References

()

Details

When downloading, e.g., "bri-stuff-0.0.1.tar.gz" from
"http://www.junghanns.net/asterisk/downloads/" and using "Save to disk", the
file is downloaded and named correctly:

bri-stuff-0.0.1.tar.gz

When I click the link again and start another download to the same directory,
the new file gets renamed to

bri-stuff-1.0.1.tar.gz

the next gets:

bri-stuff-2.0.1.tar.gz

and so on.

In this case it destroys vital information: which version is the file in question.
Expected behaviour would be appending the number and replacing only the *last*
digit preceeded by a hyphen:

bri-stuff-0.0.1.tar.gz
bri-stuff-0.0.1.tar.gz-2
bri-stuff-0.0.1.tar.gz-3

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