Closed Bug 81418 Opened 24 years ago Closed 24 years ago

file with mime type "application/x-msdownload" not handled properly, and "save to disk" doesn't write file

Categories

(SeaMonkey :: UI Design, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 46655

People

(Reporter: nstenz, Assigned: dougt)

References

()

Details

I just attempted to download Realplayer 8 basic (minimum install) from RealNetworks' web site. When I click the link to download, I get the 'What should Mozilla do with this file?' dialog mentioned in bug 88190. If I try to set the 'default action', I can't, because it's an executable- there's no 'save to disk' action, and I'm not going to run the program from another program. If I pick 'save this file to disk', choose my Desktop, and hit Save, the file appears to download. However, the file never shows up on my desktop. A full-disk search for rp8-setup.exe turns up 0 results. It appears that Mozilla is downloading the data but never creating the file. The 4.7 MB download took a little under a minute over our T1- so it appears the data is actually being downloaded; it's just never written to disk. I didn't try 'Open with application...' either- again, because it's an .exe. Expected result: 'application/x-msdownload' mime type should be handled just like any other application. I tested it in IE just to be sure- It worked fine. Since the MIME type is being returned by the server, I should probably write down that I keep picking the middle SF Bay Area server (205.158.58.128 is referenced in the middle of the redirector's URL).
Blah... I should've used the helper. Forgot the build. Build ID: 2001050915 (Windows 98)
There are 2 parts to this report: #1) There is no intutitive way to run an executable (see Bug 42015) although the functionality exists. Selecting "Open With" for an executable will run the file, however. #2) The problem with Mozilla not saving a file to disk. I could NOT reproduce this under Mozilla.9/Win98. Reporter- There is no bug 88190 in the database, was that a typo? Recommendation: Change bug status to CLOSED, WORKSFORME
I also just noticed that the MIME type for the file (as it is returned by the SF Bay server) is "application/octet-stream" and not "application/x-msdownload" .
reporter if you want to find out what happened to the file, visit http://www.sysinternals.com/ and get filemon.exe then run it as you use mozilla, specifically monitor only mozilla and probably only the cache and temp directories. mark@heily.org closed is not a status we use often. the two standard onces are Resolved and Verified. The fact that you two got _different_ mime types is interesting. I'm sending this to networking:file. Someone from networking:http should see if different servers are really giving different mime types.
Assignee: asa → dougt
Component: Browser-General → Networking: File
QA Contact: doronr → tever
Whiteboard: DUPEME
I didn't actually check what the server returned myself- Mozilla said 'application/x-msdownload'. If it's returning octet-stream, good... However, that's not what Mozilla told me. Also, that bug # I was referring to was bug 81190. Sorry. I bet it will make a bit more sense now.
The dialog probably lied to you about the file type. It does that for unknown file types (and application/octet-stream). So the file is probably served as octet-stream from both places.
reporter: do you still see this bug in the latest build? with build 2001061804 win32 this works for me. Though I can't find your bay area link. Could you test with another site? Another possibility is that something in your windows registry is causing this. Could you goto HKEY_CLASSES_ROOT\.exe in your registry and tell me what you see?
After more testing it seems that application/octet-stream might not be handled properly on the reporter's machine. If it is still a problem on your machine I would suggest in pref->navigator->Helper Application create a new entry with Description of type: File extension: MIME type: application/octet-stream Application to use: click OK click on application/octet-stream click Edit select Save to Disk uncheck the "Ask me before opening downloaded files of this type" click OK Sometimes I wonder if Mozilla should have this entry there by default
I see that Mozilla is handling application/octet-stream as an unknown type and checking the registry, where it gets the application/x-msdownload mime type from. Normally I would say the way Mozilla behaved was correct- however, I agree with _basic@yahoo.com. application/octet-stream should be registered as 'save to disk', with an option of 'open with ...'. Everything would be just fine if Mozilla would actually write the file to disk. I just grabbed a build from 06/13, and it appears to work properly now. Changing resolution to fixed. (Am I supposed to do that on a bug marked unconfirmed?) However- the SF bay area servers I was using for downloads are no longer listed on that page. Are the WA servers also returning application/octet-stream? I'm at work and don't really have time to check right now. =| For anyone that didn't have trouble with this: 1) do you have application/octet-stream configured in your Mozilla prefs? (I don't.) 2) what's in your HKEY_CLASSES_ROOT\.exe? Just curious...
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
reopening bug to mark as duplicate
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
*** This bug has been marked as a duplicate of 46655 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
it'd be nice if software didn't lie wouldn't it... verify dupe
Status: RESOLVED → VERIFIED
Whiteboard: DUPEME
->xp apps
Component: Networking: File → XP Apps
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.