Hi Chris, cb> I just tried it with Internet Explorer 7 and it successfully downloaded a tar.gz file and launched WinZip to open it. Thanks! You prompted me to test also. Debian Iceweasel displays http://carnot.pathology.ubc.ca/TestDocPackage.html.gz as a picture with a caption beneath, as we expect. IE probably does the same. The value of this is only to save storage. TestDocPackage.tar.gz contains TestDocPackage.html and Cantor.jpg. When Iceweasel is given the URI http://carnot.pathology.ubc.ca/TestDocPackage.tar.gz it opens a dialogue to ask whether to open with /bin/tar or to "Save to Disk". Choosing "Open with /bin/tar" gets Iceweasel to open the Downloads viewer which tells that TestDocPackage.tar.gz is "Done". If I click "Open" nothing visible happens. Unzipping and untarring a second time is uninteresting. In any case, pointing Iceweasel at http://carnot.pathology.ubc.ca/TestDocPackage.tar.gz does not open the document as we might hope. I haven't seen the file name extension mentioned. Will speculate at a document named http://carnot.pathology.ubc.ca/TestDocPackage.opc which a browser will display automatically. (This doesn't exist on Carnot yet.) The opc file will be portable as a pdf, readable with a browser rather than with Adobe Reader and smaller that a pdf. People at ETH must have considered all this long ago. Regards, ... Peter E.
Hi Peter,
Debian Iceweasel displays http://carnot.pathology.ubc.ca/TestDocPackage.html.gz as a picture with a caption beneath, as we expect. IE probably does the same.
Yes it does.
TestDocPackage.tar.gz contains TestDocPackage.html and Cantor.jpg. When Iceweasel is given the URI http://carnot.pathology.ubc.ca/TestDocPackage.tar.gz it opens a dialogue to ask whether to open with /bin/tar or to "Save to Disk".
This file actually is recognised as a tar.tar file not a tar.gz file by my browser. Was it actually gzipped / compressed?
I haven't seen the file name extension mentioned. Will speculate at a document named http://carnot.pathology.ubc.ca/TestDocPackage.opc which a browser will display automatically. (This doesn't exist on Carnot yet.) The opc file will be portable as a pdf, readable with a browser rather than with Adobe Reader and smaller that a pdf.
I can't verify this. I get the error message: "Forbidden You don't have permission to access /TestDocPackage.opc on this server." I'm only guessing but after following your experiments I suspect that the browser does more than just look at the file extension to determine what type of file it is. Try this one - it was the one (picked totally at random) that I referred to in my original post: http://superb-east.dl.sourceforge.net/sourceforge/lame/lame-3.96.1.tar.g z Chris
participants (2)
-
Chris Burrows -
Easthope