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