Closed Bug 390648 Opened 17 years ago Closed 17 years ago

Downloading multiple files with the same name confuses the opening of files

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: sheppy, Unassigned)

References

Details

If I download multiple files with the same name (for example, my online banking service's feature for downloading PDFs of bank statements sends them all with the name "Statement.pdf", Firefox renames each file when it downloads them to prevent overwriting, but when it offers to open the files, it doesn't use the revised names -- instead, it opens the first copy every time.
Flags: in-litmus?
Flags: blocking-firefox3?
OS: Mac OS X → All
Hardware: Macintosh → All
Bug 394812 is not a duolicate of this bug.
Bug 394812 applies only to files that are then sent to the application.
In addition, in Bug 394812, the download manager passes the correct file to the application.  Only the entry is incorrect.
http://litmus.mozilla.org/show_test.cgi?id=4662

in-litmus+
Severity: normal → major
Flags: in-litmus? → in-litmus+
I can not confirm this with the litmus test.
The pdf plugin opens the files in the browser.
I can confirm that downloading with the save as option offers to overwrite the file or choose a new filename.
I can confirm that downloading the same file (NWNMdlViewer1.0.exe) multiple times will result in several files; NWNMdlViewer1.0.exe, NWNMdlViewer1.0(2).exe, NWNMdlViewer1.0(3).exe, and NWNMdlViewer1.0(4).exe.
I can also confirm via the taskmanager that the correct file is opened via the download manager.

Is there a way to cause the download manager to handle the pdf files instead of the plugin?

Thank you.

this is the Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a8pre) Gecko/2007091005 Minefield/3.0a8pre ID:2007091005 build.
Eric, are you still experiencing this with the current trunk builds on Mac OS X?  I did a quick couple rounds of testing, and saw what Ian sees in comment 4: it working.
I've spent some time experimenting with this, and it actually appears to be a bug with my bank's online banking system.  Looks like they're caching the PDFs they generate for bank statements and aren't clearing that cache when you select a new one, so they keep sending the same content over and over again.  Looks like this should be marked INVALID.
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: blocking-firefox3?
Resolution: --- → INVALID
Thanks Eric; I think we've got good enough coverage to prove this is actually working.

Verified INVALID (thankfully, we still have testcases, though, so we'll catch this if it regresses).
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.