On Thu, Mar 28, 2002 at 12:27:21PM -0600, Ed Wilts wrote:
> On Wed, Mar 27, 2002 at 12:06:10PM +0000, Alan Peery wrote:
> > 
> > I don't know if you can drive ftp with a single command line, something 
> > like
> > 
> > echo "get foo" > fred
> > ftp -ine < fred
> > echo $?
> 
> You've got a few choices.  ncftpls will give you a directory listing on the
> remote server.  ncftpget to get a file.
> 
> You can install the Perl libnet package and use Net::FTP to do the work.

There's also Ckermit which (among other things) is an FTP client, and
which has its own powerful scripting language. You can easily use it to
write complex programs for doing such-like stuff. 

See www.columbia.edu/kermit.

-- 
---- Fred Smith -- [EMAIL PROTECTED] -----------------------------
               But God demonstrates his own love for us in this: 
                         While we were still sinners, 
                              Christ died for us.
------------------------------- Romans 5:8 (niv) ------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to