Closed Bug 284533 Opened 20 years ago Closed 20 years ago

incorrect file name when downloading pre-existing file

Categories

(Toolkit :: Downloads API, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 231048

People

(Reporter: mephilli, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050301 Firefox/1.0.1 (Debian package 1.0.1-1)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050301 Firefox/1.0.1 (Debian package 1.0.1-1)

I was downloading the newest kernel today. It was automatically saved as
~/temp/linux-2.6.11.tar.bz2 which is correct. By accident I started downloading
it a second time and instead of being saved as linux-2.6.11.tar.bz2-1 it was
saved as linux-3.6.11.tar.bz2. 

It seems to just be the filename that is the problem. Just downloading an empty
file with that name from my website caused the problem to happen. When I tried
to download the file for a third time I got linux-4.6.11.tar.bz2

Automatic downloading has to be turned on for this to occur. If I set Firefox to
ask me every time the filename in the save as window will be correct.

Reproducible: Always

Steps to Reproduce:
1.Try to download a file with the name linux-2.6.11.tar.bz2
2. When its done download it again. 
3. 

Actual Results:  
The second file was saved as linux-3.6.11.tar.bz2

Expected Results:  
I would expect something like linux-2.6.11.tar.bz2-1

Automatic downloading has to be turned on for this to occur.

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