On Thu, 01 Jun 2000 19:02:42 -0500, Clarence Verge wrote:
<snip>
> Tell me how to download a RAR file. I can't do it with Arachne and I can't
> do it with Netscape. They both print the damn thing to the screen. :-((
That's because the server is sending as content/type.... "text/plain"
To confirm this:
Use Cntrl+leftclick or Cntrl+Enter on the link to the RAR file.
After the D/L has completed, check that file's .htt to see what
content/type was sent by the server.
You can place the following line into mime.cfg so that RARs will be
sent to UNRAR.EXE when you link to one that's on your HDD.
file/.rar >TXT|@c:\\unrar\\unrar.exe v $1
(that will "view" the contents of the RAR file)
If you find a server which sends the *correct* content type.
*This* line in mime.cfg will do the same for RARs after the D/L has
completed.
application/rar >TXT|@c:\\unrar\\unrar.exe v $1
or if the server send "application/x-compressed-rar"
application/x-compressed-rar >TXT|@c:\\unrar\\unrar.exe v $1
------
You should begin to see what's happening.<g>
It's the same situation as when some idiot gives a GIF the JPG extension.
The server sends "image/jpeg" so Arachne uses this line in mime.cfg...
image/jpeg JPG>BMP|$edjpeg.exe -bmp -colors 256 $1 $2
(result... red box where the image should be)
If that idiot had used the *correct* extension.
The server would be sending "image/gif" and Arachne would use *this* line...
image/gif GIF
(result... image displayed)
--
Glenn McCorkle [EMAIL PROTECTED] North Jackson, Ohio, USA
DOS prog. for QV cameras http://www.angelfire.com/id/glenndoom/qvplay.html
Other stuff http:[EMAIL PROTECTED]/
Arachne, The Web Browser for DOS
Open the 'DOOR' to the WWW. Keep the 'windows' closed.
http://arachne.browser.org/ http://arachne.cz/