Re: Commandline FTP
Darren Benham <gecko@benham.net> writes:
> When looking at the ncftp, I didn't see any place to specify a
> command line.. but I didn't look deeply into it. I eventually just
> ended up writing a python script (and getting it to work :)
In bash:
ncftp <<EOF
open ftp.xyz.com
user name password
cd /xyz
get xyz.tar.gz
cl
EOF
HTH,
Jens
--
Jens.Ritter@weh.rwth-aachen.de grimaldi@debian.org
KeyID: 2048/E451C639 1998/01/28
Print: 5F 3D 43 1E 24 1E CC 48 1E 05 93 3A A7 10 73 37
Global War[m|n|p|r]ing?
-- Peter G. Neumann (Comp.Risks 19.91)
Reply to: