Closed Bug 279568 Opened 20 years ago Closed 20 years ago

Download of a file that already exists creates a malformed filename

Categories

(Toolkit :: Downloads API, defect)

1.7 Branch
x86
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 231048

People

(Reporter: init, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0

When I download the file

ftp://ftp.stacken.kth.se/pub/arla/arla-0.36.2.tar.gz

the first time, it works as intended. But if I download it another time, when
the file already exists, the new file is called arla-1.36.2.tar.gz. This is
clearly wrong. I would suggest appending .1, .2, etc. instead (like wget).


Reproducible: Always

Steps to Reproduce:
1. Download the file ftp://ftp.stacken.kth.se/pub/arla/arla-0.36.2.tar.gz
2. Download the same file *after* the first one is completed
3. Check the filenames


Actual Results:  
The files were called

arla-0.36.2.tar.gz
arla-1.36.2.tar.gz


Expected Results:  
The files should have been called

arla-0.36.2.tar.gz
arla-0.36.2.tar.gz.1
Already known bug.

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