Closed Bug 282304 Opened 20 years ago Closed 20 years ago

download manager 'versions' files by incrementing a number in the filename

Categories

(Toolkit :: Downloads API, defect)

1.7 Branch
Other
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 231048

People

(Reporter: sarnold, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.5) Gecko/20050110 Firefox/1.0 (Debian package 1.0+dfsg.1-2)
Build Identifier: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.5) Gecko/20050110 Firefox/1.0 (Debian package 1.0+dfsg.1-2)

Downloading a file such as http://sarnold.org/1.zip several times will cause the
download manager to "helpfully" increment the '1' to '2'; doing so again will
increment it to '3', and so forth. Firefox will always pick the first version
number to putz with.

My filenames aren't versioned on a whim -- so firefox renaming them for me is
_very_ unpleasant. If there is a possible collision, I would much rather firefox
append a unique number to the _end_ of the filename rather than destroy a
perfectly good number in the middle of the filename.

Thanks

Reproducible: Always

Steps to Reproduce:
1. type http://sarnold.org/1.zip into the URL bar
2. type http://sarnold.org/1.zip into the URL bar
3. type http://sarnold.org/1.zip into the URL bar
Actual Results:  
ls -l ~/1* # or wherever your downloads appear .. note how there are several
files, only one of which matches "1.zip*".


Expected Results:  
download 1.zip, 1.zip.1, 1.zip.2, etc.
See Bug 231048 "download manager poorly renames existing files with number suffix"

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