home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / shell / 5229 < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!wupost!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!csn!cherokee!uswmrg!engineer.mrg.uswest.com!chris
  3. From: chris@engineer.mrg.uswest.com (Chris Fedde)
  4. Subject: Re: need a bit of help in
  5. Message-ID: <1993Jan3.020401.12387@uswmrg.mrg.uswest.com.mrg.uswest.com>
  6. Organization: USWEST Marketing Resources
  7. NntpPostingHost: engineer.mrg.uswest.com
  8. References: <1993Jan1.195022.23031@mnemosyne.cs.du.edu> <s1110238.725956972@giaeb> <1993Jan2.092831.15518@mnemosyne.cs.du.edu>
  9. Date: 03 Jan 93 07:04:01 GMT
  10. Lines: 18
  11.  
  12. In article <1993Jan2.092831.15518@mnemosyne.cs.du.edu> rduta@nyx.cs.du.edu (Radu) writes:
  13. >
  14. >Is there a way to pipe text into something like telnet or ftp.  Nothing that i
  15. >tried works.  At first I thought that I could pipe an echo, but it didn't work.
  16. >Anyone know how to do it, or if it's possible?
  17. >
  18.  
  19. Ftp will take input from standard in. This command works under HPUX.
  20.     ftp n << .
  21.         open fubar
  22.         user chris mypass
  23.         binary
  24.         cd pub
  25.         get important.stuff
  26.         quit
  27.     .
  28.  
  29. Chris Fedde, USWEST MRG, chris@mrg.uswest.com, voice +13037842823
  30.