Closed Bug 301593 Opened 19 years ago Closed 19 years ago

Renaming existing file before downloading same file name fails (windows file picker problem)

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: ccarpinteri, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Its hard to summarize this issue..... When I went to upgrade my UltraVNC install
from the website attached to this bug, I clicked on say the vncviewer.exe to
download, and I wanted to save it to the same location as to where the file
exists. I wanted to rename the existing vncviewer.exe to vncviewer.exe_bak, so I
did that from the "Save As" dialog in Firefox. I made sure that the new file
name for the new file I was downloading was correct (no _bak extensin) and
clicked "Save". I found that FireFox was asking if I want to replace the
existing file, when the existing file no longer exists because I renamed it. I
clicked yes, and instead of saving as vncviewer.exe, it replaced the renamed
file which was vncviewer.exe_bak.

Reproducible: Always

Steps to Reproduce:
1.Click on file to download
2.Browse to desired location of file
3.Rename existing filename that the new file is replacing
4.Click Save, FireFox asks me to replace file when that file really doesn't exist
5.FireFox saves the file as the renamed file instead of the one specified

Actual Results:  
The file I wanted to backup was replaced with the new file I downloaded.

Expected Results:  
Expected the new file and backup file to exist in the same folder.
This is a bug in the Windows "Save As" dialog, and not in Firefox. Firefox
simply uses the native dialog to allow you to save files. Try it out in other
windows programs, like Notepad, and you'll see that it isn't a Firefox issue :).
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
Summary: Renaming existing file before downloading same file name fails → Renaming existing file before downloading same file name fails (windows file picker problem)
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.