Closed Bug 243984 Opened 20 years ago Closed 20 years ago

confusing rename with duplicate file name

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 231048

People

(Reporter: bugzilla_mozilla, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a) Gecko/20040518 Firefox/0.8.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a) Gecko/20040518 Firefox/0.8.0+

I have firefox set to automatically download to the desktop.  If I download the
same file twice, it will download them both, renaming the second one.  When the
filename has dashes and periods, sometimes it renames in a confusing way
(whether there is/should be an option to prompt instead of rename is another
matter).

Reproducible: Always
Steps to Reproduce:
Try downloading the file in the example URL multiple times.
Actual Results:  
For me, the first file is named (correctly) javacc-3.2.zip.  The second is named
javacc-4.2.zip, the third javacc-5.2.zip.

Expected Results:  
It would make more sense for the files to be reneamed javacc-3.2(1).zip, etc,
but even that would conflict with files whose names end with (x).  At least it
should only change the last numeral in the filename.

*** 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.