On Thu, 28 Mar 2002, fred smith wrote: > 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.
I missed the beginning of this thread, but if you're just trying to automatically ftp a file from a server, look at wget. wget ftp://other.server.com/path/to/file Many options. Very powerful. ------------------------------------------------------------------- DDDD David Kramer http://thekramers.net DK KD DKK D "Before you criticize someone, you should walk a mile in DK KD their shoes. That way, when you criticize them, you're a DDDD mile away and you have their shoes." ?? _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list