Closed
Bug 233969
Opened 22 years ago
Closed 22 years ago
Download Manager increments filenames starting with the first digit
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 231048
People
(Reporter: rob-bz, Assigned: bugs)
References
()
Details
User-Agent:
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
When the download manager saves a file (using "Save all files to this folder")
and the file is already in the downloading a file such as
"thunderbird-0.5-win32.zip", the download manager will increment the first digit
in the filename, making the example "thunderbird-1.5-win32.zip",
"thunderbird-2.5-win32.zip", etc...
Reproducible: Always
Steps to Reproduce:
Using Firefox 0.8 for Windows from http://www.mozilla.org/download.html:
1. Make sure in Options|Downloads the Download Folder is set to "Save all files
to this folder:"
2. Go to http://www.mozilla.org/download.html
3. Click "Windows" on "Thunderbird 0.5"
4. Wait for the download to complete
5. Click "Windows" on "Thunderbird 0.5" again
Actual Results:
For each time I download the file, I get a new file and file name in my
downloaded folder as follows:
thunderbird-0.5-win32.zip
thunderbird-1.5-win32.zip
thunderbird-2.5-win32.zip
thunderbird-3.5-win32.zip
Expected Results:
The download manager should do one of the following things:
A) Warn about overwriting the existing file.
B) Check the filename for a 'file number delimiter' such as parentheses. If a
common delimiter exists, then increment the number in the filename.
“thunderbird-0.5-win32.zip” would ideally be changed to
“thunderbird-0.5-win32(1).zip”, but of course this would be buggy with
“file.tar.gz” style files. So perhaps the delimiter should be appended to the
front of the file "(1)thunderbird-0.5-win32.zip" style if one does not exist.
C) Check numeric 'words' surrounding the current word for other numbers, and
decide not to increment those. “thunderbird-0.5-win32.zip” would have "0" and
"5" next to each other. And “win32” is not a numeric word. So it would proceed
with appending a number. However “thunderbird-0.5-win32-1.zip” has the word “1”
near “win32” and “zip”. Neither of these words are numeric, so it should
increment the 1 to produce “thunderbird-0.5-win32-2.zip”.
| Reporter | ||
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 231048 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•17 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•