[ale] Auto-ftp

Eric Hunter Eidson hunter at dekalb.dc.peachnet.edu
Wed Oct 16 08:11:10 EDT 1996


> I'm trying to write a shell script that will ftp a file from one machine
> to another, using anonymous login . FTP does not seem to like my
> redirected inputs . Anyone have any hints on this ?
> 
> 						Thanks,
> 						   Dave
I seem to remember that both FTP and TELNET are pains about handling redirects
in.  I was told the only way to automate an FTP is to use expect, which works
with tcl/tk.  One other possibility is to use NcFTP
(ftp://ftp.probe.net/pub/ncftp) which allows you to specify on the command
line, the ftp type URL to Anon. FTP from.  Most Linux distributions have an 
older version 1.9.x, which I don't remember if it supports this or not.

                Hope this helps...

                --Hunter

-- (chSig Random Fortune Signature V2.0)
Sigmund's wife wore Freudian slips.






More information about the Ale mailing list