sample lftp command lines?

Bob McClure Jr robertmcclure at earthlink.net
Mon Aug 22 16:02:47 UTC 2005


On Mon, Aug 22, 2005 at 08:18:38AM -0700, Harold Hallikainen wrote:
> As I SLOWLY move stuff from an RH8 to an FC4 system, I've found that ncftp
> is not included in FC4, but lftp is included. I have a script that does a
> daily ftp of a tar file to a remote server. I'm having difficulty figuring
> out from the man page on lftp what a command line would look like that
> would log me in to the remote server and put the local file in the
> appropriate remote directory. Anyone know of some sample lftp command
> lines?
> 
> THANKS!
> 
> Harold
> ps - I'm CLOSE to getting everything working! I had to modify a buncy of
> php stuff to work on the new machine. I've got this ftp problem and some
> perl stuff to update, then it might be ready to put on line!

Have you considered "scp" using SSH?  It is much more easily scripted
and it's secure, to boot.

Cheers
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure at earthlink.net  http://www.bobcatos.com
Peace at any price is inflationary.




More information about the Redhat-install-list mailing list