Re: [Web-ftp] Re: New Web-FTP features?
Status: Beta
Brought to you by:
aball
From: Anthony R. J. B. <an...@su...> - 2004-03-05 15:52:22
|
That won't work... its for multiple files, so I somehow need to be able to supply the filenames, and, for that matter, multiple files. Tarring doesn't help because then you are still passing a tar file to windows users... it is just compressed. On Fri, Mar 05, 2004 at 09:32:33AM -0600, Dan Nelson wrote: > In the last episode (Mar 05), Anthony R. J. Ball said: > > > > > - In graphics arts, we use macintosh and pc, so when we download many > > > files a tar compression don't match, only a zip compression work for > > > us. > > > > Tar works ok in a PC... winzip unzips it, I know... > > No idea about Mac... > > I tried to do zip but could not figure out how to stream it, > > which is necessary in this application. > > It's in the manpage :) A single - is treated as either stdin or > stdout, depending on where it is in the commandline. > > "zip - myfile.txt" will send its zipfile to stdout. > "zip - -" basically acts like gzip, but emits a zipfile. > "zip - outfile.zip" will compress stdin and create outfile.zip > > Note that lines 2 and 3 do not know the input filename and will use "-" > instead. > > -- > Dan Nelson > dn...@al... > -- www.suave.net - Anthony Ball - an...@su... OSB - http://rivendell.suave.net/Beer -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "D'oh!" - Homer Simpson |