home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / datacomm / 8432 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.4 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!uwm.edu!linac!unixhub!news
  2. From: wglp09@scsa1.slac.stanford.edu (W.G.J. Langeveld)
  3. Newsgroups: comp.sys.amiga.datacomm
  4. Subject: Re: Can the CBM ftp command be scripted using redirection ?
  5. Message-ID: <C03nsA.H21@unixhub.SLAC.Stanford.EDU>
  6. Date: 31 Dec 92 01:21:46 GMT
  7. References: <amuser.725689922@marsh>
  8. Sender: news@unixhub.SLAC.Stanford.EDU
  9. Organization: Stanford Linear Accelerator Center
  10. Lines: 29
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Newssoftware: GRn-beta 1.16g (10.12.92) by Michael B. Smith & Mike Schwartz
  14. Mime-Version: 1.0
  15.  
  16. In article <amuser.725689922@marsh> amuser@cs.curtin.edu.au (Bill Sharp-Smith) writes:
  17. > I had the idea that an FTP session could be scripted using the shell
  18. > re-direction eg. "ftp <ram:ftpscript" with the "ftpscript" file looking
  19.  
  20. Yes it is possible, but not quite that way.
  21.  
  22. > something like :
  23. > open machinename
  24. > anonymous
  25. > password
  26.  
  27. This one's the problem. The password cannot be piped in using regular pipes.
  28. What works is using Matt's fifo-handler. If I remember correctly, you can get
  29. it to work by sending the password followed by a return (rather than a linefeed).
  30.  
  31. > hash
  32. > bin
  33. > cd amiga
  34. > get ......
  35. > Has anyone tried this ? How far did you get ? 
  36.  
  37. We use something like that occasionally here.
  38.  
  39. -- 
  40. W.G.J. Langeveld - SLAC | Internet: wglp09@slacvm.slac.stanford.edu
  41.                         | BIX:      langeveld
  42.