home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / news / newusers / question / 5677 < prev    next >
Encoding:
Text File  |  1993-01-04  |  1.1 KB  |  30 lines

  1. Newsgroups: news.newusers.questions
  2. Path: sparky!uunet!world!grady
  3. From: grady@world.std.com (Dick Grady)
  4. Subject: Re: ftp commands
  5. Message-ID: <C0BBsK.E9B@world.std.com>
  6. Organization: The World Public Access UNIX, Brookline, MA
  7. References: <1992Dec31.060322.15902@tfs.com> <1992Dec31.172903.4214@tigger.jvnc.net>
  8. Date: Mon, 4 Jan 1993 04:43:31 GMT
  9. Lines: 19
  10.  
  11. In article <1992Dec31.172903.4214@tigger.jvnc.net> knopf@nisc.jvnc.net (Greg Knopf) writes:
  12. >In article <1992Dec31.060322.15902@tfs.com>, rsw@tfs.com (Rob White) writes:
  13. >|> I use a unix machine to ftp to various sites.  
  14. >|>   As examples: I do not know how to read a file that is at another 
  15. >|> site other than to transfer the file to my own site, exit ftp, 
  16. >|> and then read the file. Kind of awkward.
  17. >
  18. >On a unix machine:
  19. >
  20. >    ftp> get README.TXT /dev/tty
  21.  
  22. The symbol "-" (a minus-sign) when used as a filename means standard
  23. output (or standard input, as appropriate).  So the above can be written:
  24.  
  25.     ftp> get README.TXT -
  26.  
  27. -- 
  28. Dick Grady           Salem, NH,  USA            grady@world.std.com
  29. So many newsgroups, so little time!
  30.