Date: Wed, 16 May 2001 14:54:58 -0500 From: Mike Meyer <mwm@mired.org> To: Tony Wells <awells@journalstar.com> Cc: questions@freebsd.org Subject: Re: Scripting FTP actions Message-ID: <15106.56082.178578.218067@guru.mired.org> In-Reply-To: <28816825@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Tony Wells <awells@journalstar.com> types: > 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? Since the perl library has a ftp tool in it, that's not completely crazy. The python libraries ftp class is more flexible, though. The best solution has already been suggested by Daniel Frazier - use scp with the ~/.ssh/authorized_keys file. Even if you're writing a perl script to invoke the scp commands, that's still a lot saner than either of those libraries. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. 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?15106.56082.178578.218067>