W3C home > Mailing lists > Public > www-talk@w3.org > November to December 1996

File downloading

From: John Pataki - Design <john.pataki@sdrc.com>
Date: Thu, 14 Nov 1996 18:32:54 -0500
Message-Id: <9611141832.ZM7747@sgics27>
To: www-talk@w3.org
Greetings,


 I am trying to implement a file download capability by just using the http://
tag.
As I stated in the previous posting on the problem I was having before, when
the files are uploaded, the script compresses them using UNIX 'compress'. Then
the filename that is tagged with the http:// tag is 'filename.Z'.  Then when
trying to use the link to dowload the file, it was giving me an error saying
that it wasn't compressed.

I managed to get the mime problem straightened out so that it was not giving me
that stdin error. Now I have another problem. When I use the link, the "Save
as..." widget pops up and asks me where to download the file to. The problem is
that it is defaulting to the name of the file without the ".Z" on the end. It
 _IS_ saving it as a compressed file, but without the correct compressed file
extension.

Why is Netscape stripping off the .Z of my filename when saving to my disk? (
as the default filename.... I know I can re-specify this...but the users of
this page will not know to do this.)

 I going to try avoiding using the ftp:// link as the tag because I would need
to setup up an anonymous account for that to work.  I am assuming that this is
viable... I have seen it out there on the web before.

John

-- 
________________________________ EOF ________________________________

John V. Pataki			 
Applications Engineer - Design Team	Fax:  (513)576-2010
Structural Dynamics Research Corp.	Email: john.pataki@sdrc.com
2000 Eastman Drive			http://www.sdrc.com/
Milford, Ohio 45150-2789		NASC Hotline (800)AHA-SDRC



  \ o /  _ o        __|    \ /     |__        o _  \ o /   o     
    |     /\   __\o   \o    |    o/    o/__   /\     |    /|\
   / \   | \  /)  |   ( \  /o\  / )    |  (\  / |   / \   / \ 
______________________________________________________________________
 	   __o                  __o               __o
	 _'\<  _              _'\<  _           _'\<  _
	(_)/ '(_)            (_)/ '(_)         (_)/ '(_)
______________________________________________________________________
                           
                           "gnu stick art"
Received on Thursday, 14 November 1996 18:31:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:20 GMT