The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniWeb Bug Reports (http://forums.omnigroup.com/forumdisplay.php?f=27)
-   -   OmniWeb appends txt extension to binary downloads (http://forums.omnigroup.com/showthread.php?t=1442)

vocaro 2006-08-18 12:36 PM

OmniWeb appends txt extension to binary downloads
 
Go to [url=http://www.macosxhints.com/article.php?story=20060814022544287]this page[/url] and right-click on the [url=http://www.macosxhints.com/dlfiles/Movie%20Splitter%203GP.scpt]16kb download[/url] link, then choose Download Link To. On my system, OmniWeb 5.5b3 mistakenly adds a "txt" extension to the downloaded file. Instead, it should leave the filename with its original "scpt" extension.

Forrest 2006-08-18 01:04 PM

It's the way the web server is configured: "Content-Type" = "text/plain";

They "think WebKit gives priority to the content-type and assumes that you're going to want the extension the file was downloaded as."

Stormchild 2006-08-18 01:09 PM

Although OW probably shouldn't be adding the '.txt' extension, it seems to me that the main problem is that the server doesn't have a MIME type set up for '.scpt' (which is why you have to right-click to download it).


All times are GMT -8. The time now is 11:59 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.