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




17 years ago
3 years ago


(Reporter: rhgtyink, Unassigned)


Firefox Tracking Flags

(Not tracked)





17 years ago
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:

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


3 years ago
Component: File Handling → File Handling
Product: Core → Firefox
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.