Date: Tue, 15 May 2001 16:53:20 -0400 From: Daniel Frazier <dfrazier@magpage.com> To: Tony Wells <awells@journalstar.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Scripting FTP actions Message-ID: <3B019740.2110063D@magpage.com> References: <3B017535.2C9D98B8@journalstar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Tony Wells wrote: > > Hi all, > I need to be able to set up something where I can script a bunch of > FTP actions to send files to a remote server and I'm not sure where to > start looking. > > As far as a client I use ncftp, and looking at the man page I only see > "auto fetching" of files. > > Has anyone done this, or am I better off just writing a perl script > that pretends to be an FTP client? > I'd use scp. with scp you can utilize a ~/.ssh/authorized_keys file on the destination machine and you won't have to put any passwords in the script. -- ---------------------------------------------------------------------- Daniel Frazier <dfrazier@magpage.com> Tel: 302-239-5900 Ext. 231 Systems Administrator Fax: 302-239-3909 MAGPAGE, We Power the Internet WWW: http://www.magpage.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B019740.2110063D>