Date: Wed, 16 May 2001 22:07:02 +0000 (GMT) From: Ismail YENIGUL <nightbsd@mail.enderunix.org> To: Mike Meyer <mwm@mired.org> Cc: Tony Wells <awells@journalstar.com>, <questions@freebsd.org> Subject: Re: Scripting FTP actions Message-ID: <Pine.BSF.4.32L2.0105162205380.72422-100000@agayev.rt.net.tr> In-Reply-To: <15106.56082.178578.218067@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
you can use expect Expect is a program that performs programmed dialogue with other interactive programs. it is located under /usr/ports/lang/expect bye Ismail YENIGUL nightbsd@enderunix.org http://www.enderunix.org (Turkish *BSD Team Site) On Wed, 16 May 2001, Mike Meyer wrote: > 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 > 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?Pine.BSF.4.32L2.0105162205380.72422-100000>