Date: Wed, 2 Aug 2000 09:00:20 -0400 From: Chris <kingsqueak@kingsqueak.org> To: Nathan Vidican <webmaster@wmptl.com> Cc: questions@FreeBSD.ORG Subject: Re: ftp upload from script Message-ID: <20000802090020.A1195@kingsqueak.org> In-Reply-To: <398739CC.713D40B3@wmptl.com>; from webmaster@wmptl.com on Tue, Aug 01, 2000 at 04:57:48PM -0400 References: <398739CC.713D40B3@wmptl.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"expect" is the scripting lang. you want. Just starting to mess with it myself so I can't really tell you what it should be; however I can tell you it will be short and simple. On Tue, Aug 01, 2000 at 04:57:48PM -0400, Nathan Vidican wrote: > I need to have a script upload three files via FTP, is there anyway of > doing this from a script? for example: > > foreach $filename (@files) { > system("ftp username:pass@ftp.wmptl.net/directory/to/ftp/to < > $filename"); > } > 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?20000802090020.A1195>