Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!brutus.cs.uiuc.edu!apple!hercules!sparkyfs!aai8.itstd.sri.com!mckenney From: mckenney@aai8.itstd.sri.com.uucp (Paul E. McKenney) Newsgroups: comp.protocols.tcp-ip Subject: Re: Remote "cat" during ftp connection Message-ID: <28859@sparkyfs.istc.sri.com> Date: 22 Nov 89 17:17:12 GMT References: <4579@jjmhome.UUCP> <2656@auspex.auspex.com> Sender: news@sparkyfs.istc.sri.com Reply-To: mckenney@sri.com (Paul E. McKenney) Distribution: na Organization: SRI International, Menlo Park CA Lines: 19 >> Is it possible to list text files during an ftp connection? >Some ftp clients let you "get" to a file named "-", meaning the >display. Some (UNIX) ftp clients allow the following sort of thing: get file |more The following also can be of use: get file.Z "|zcat > file" get file.Z "|tar -xvf -" get file.Z "|zcat | tar -xvf -" get file.txt |lpr In the implementation I have been using most recently (SunOS 4.0.3), the quotes are needed if the command contains spaces. Thanx, Paul