Open Bug 137929 Opened 23 years ago Updated 3 years ago

Save as resulting in a 0 byte file (because of some error) causes a sharing violation on that file under Windows XP

Categories

(Firefox :: File Handling, defect)

defect

Tracking

()

People

(Reporter: rhgtyink, Unassigned)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.9) Gecko/20020311 BuildID: 2002031104 If i try to download "within temptation - ice queen - 01 - ice queen (radio).mp3" i get the "save as" message dialog, i select "save this file to disk" press "ok" the file is saved to disk "0 byte" because of a download error (error is also not displayed while downloading !!). If i then try to delete the file with or without Mozilla running using explorer i get a "Cannot delete file is being used by another program". I also tested this on a Windows NT 4.0 workstation and i can delete the file with no problem. Reproducible: Always Steps to Reproduce: 1. Got to URL: http://www24.brinkster.com/stardust2000/stardust2000mp3/wt.htm 2. Click "within temptation - ice queen - 01 - ice queen (radio).mp3" 3. Save file to disk 4. Try to delete the file, i get a "File is being used by another program". Actual Results: What i've described... Expected Results: Give me a errormessage when downloading of the file failed, and not save the file at all. Workaround to "kill" the file is to select a working download and "save as" the file name that has the 0-byte filelength. After downloading you can delete the file.
Yep... the server refuses the connection here... We should check aStatus in OnStopRequest, I guess....
Assignee: Matti → law
Status: UNCONFIRMED → NEW
Component: Browser-General → File Handling
Ever confirmed: true
OS: Windows XP → All
QA Contact: imajes-qa → sairuh
Hardware: PC → All
QA Contact: sairuh → petersen
Assignee: law → nobody
QA Contact: chrispetersen → file-handling
Product: Core → Firefox
Version: Trunk → unspecified
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.