Hello, I am not sure how to correct this problem, but I have noticed a lot of web sites with gzip files no longer allow right clicking on them, then selecting 'Save link As...'. I get 'Error opening xyz.tar.gz: Permission denied'. This is a recent occurence with SuSE 7.1 and Netscape 4.9 but I also have seen it with other versions of SuSE and Netscape. On some of the links when I left click on the link, then Netscape downloads the file into /tmp and then immediately deletes it, with no output anywhere. If the download is large enough I usually have enough time to make a hard link to the temporary file in /tmp so that when Netscape nukes the file after the download is done I still have a copy. However on smaller files that take only a few seconds to download this is not an option. On other links when I left click on the link, Netscape downloads the file then thinks about it for a second or two. Then up pops a Netscape window stating that '/tmp/xyz.tar not in gzip format'. I have gone through the Netscape -> Edit -> Preferences -> Navigator -> Applications looking for any mime definition for .gz. But none show up. I even added my own Application to 'Save to Disk' and 'Unknown:PromptUser' when .gz files are passed in. No Luck. Sometimes I am able to view the page source and then ftp to the server listed in the Html where the gzip file is, and download it that way. Other times I am able to telnet on port 80 to the server and issue a Html get command to acquire the source code. Sadly sometimes the html page source indicates I need to use a 'Frames Capable' browser to see the source of the page. However these are very arcane ways to download source files, reminds me of the early days of the Internet before MS. Does anyone know what I am obviously doing wrong. Or how to set up an application handler in Netscape to make it PromptUser when a hyperlink '.gz' file is pulled in?? Thanx, jpg
On Fri, 2001-12-21 at 05:57, John Griffin wrote:
Hello,
I am not sure how to correct this problem, but I have noticed a lot of web sites with gzip files no longer allow right clicking on them (....)
Hi Jon, Downloading in Netscrape normally used to work with SHIFT-LEFT_MOUSE_BUTTON Or you use Konqueror, in my experience Konqueror always used to be clever enough to know by itself when a file is something to rather download than display inline, and asked me for a choice. Cheers !!! Wolfi ============================================= mailto:wolfi_z@yahoo.com _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
John Griffin wrote:
'Save link As...'. I get 'Error opening xyz.tar.gz: Permission denied'. This is a recent occurence with SuSE 7.1 and Netscape 4.9 but I also have seen it with other versions of SuSE and Netscape.
On other links when I left click on the link, Netscape downloads the file then thinks about it for a second or two. Then up pops a Netscape window stating that '/tmp/xyz.tar not in gzip format'.
I have gone through the Netscape -> Edit -> Preferences -> Navigator -> Applications looking for any mime definition for .gz. But none show up. I even added my own Application to 'Save to Disk' and 'Unknown:PromptUser' when .gz files are passed in. No Luck.
This is a widespread problem in downloading tar.gz files. The problem is that linux is setup to automatically uncompress "gz" files. I think they did this to help download speeds and it also allows you to save compressed docs on your disk, and have them opened "auto-magically" for you. Editing the Mime types in Netscape usually won't help. When the file comes in, and when it says "not in gzip format", it usually means it's already been gunzipped and it is a plain tar file (even though it's still named tar.gz or tgz). So just "tar -xvf" the file Another problem is left-clicking vs. right-clicking on the link. It is always safest to right-click and choose "save link as". If you just left-click on the link, if the mime-type isn't properly set to download on the server side, Netscape will try to open it as a gzipped file. Then you will see the strange binary data opening on your screen, and you hit "stop". Then a cache problem starts, because when you do go to "right-click" and save as, it pulls the first few bytes out of cache, and you get a download, but it is corrupted. Then you must clear out Netscapes cache before trying to download again, or "save as" and rename it to a different name. This problem is hard to solve, because it requires all download links on the mis-setup servers to properly declare the link is a download. Usually people just make a link to the file, then if the server sends out the right header, it works; if not, the problem occurs. So.......always "right click and choose save as"; then if the file complains of not being in gzip format, just try to untar it. (Of course, the shift-left-click should work also) If you do goof up and see the binary data flying across the screen, remember to save the file under a new name on the second attempt, OR flush Netscape's cache. Finally, every now and then you get a REAL corrupted download. In that case... download again. :-)
participants (4)
-
John Griffin
-
Joshua Lee
-
wolfi
-
zentara