Rahul Sood <[EMAIL PROTECTED]> writes:

> Excuse if this is a FAQ, but how can I set up a shell script to ftp to a
> host and retrieve a file?

Some have suggested using ncftp or wget to do this.  That may be the best way
to go.

However, it is also possible to do it with plain-old ftp.  You have to specify
the login and password in a file called `.netrc' in your home directory.  Then
`ftp' to a host listed in that file can be invoked from a script.

See `man ftp' for details.

--
David Zelinsky
[EMAIL PROTECTED]

Reply via email to