Closed Bug 910209 Opened 11 years ago Closed 11 years ago

I download 'filename.exe' and try saving it over existing 'filename.EXE', it's overwriten but resulting filename is 'filename.EXE.exe'

Categories

(Toolkit :: Downloads API, defect)

23 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 608568

People

(Reporter: mtrashbin, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130814063812

Steps to reproduce:

In Firefox, I click to download the file "putty.exe" from web and try to save it on disk. It asks for location and I point it to my putty folder where file "PUTTY.EXE" already exists. Dialog pops up asking if I want to overwrite, and I click 'yes'.


Actual results:

The file is saved as "PUTTY.EXE.exe" (Old "PUTTY.EXE" is deleted).


Expected results:

The file should be saved as "PUTTY.EXE" or "putty.exe".
Component: File Handling → Download Manager
Product: Core → Toolkit
I'm not able to reproduce the issue with http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html, Firefox increments each new version downloaded: putty.exe, putty(1).exe, putty(2).exe etc.

Could you test with a clean profile, please.
https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
Flags: needinfo?(mtrashbin)
(In reply to Loic from comment #1)
> I'm not able to reproduce the issue with
> http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html, Firefox
> increments each new version downloaded: putty.exe, putty(1).exe,
> putty(2).exe etc.

This is the behavior when you always save files to specific folder.

To reproduce the issue, choose the option "Always ask me where to save files" (or right-click -> Save link as...). Please note that for the bug to occur, there needs to be at least one capital letter in the ".EXE" part of the file being overwritten on the disk.
 
> Could you test with a clean profile, please.
> https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-
> firefox-profiles

It's happening with a clean profile too.
Flags: needinfo?(mtrashbin)
I did some additional searching, seems related to this bug https://bugzilla.mozilla.org/show_bug.cgi?id=608568
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.