From owner-freebsd-isp Wed Sep 8 13:23:28 1999 Delivered-To: freebsd-isp@freebsd.org Received: from shemp.palomine.net (shemp.palomine.net [205.198.88.200]) by hub.freebsd.org (Postfix) with SMTP id 888CC14C13 for ; Wed, 8 Sep 1999 13:23:24 -0700 (PDT) (envelope-from cjohnson@palomine.net) Received: (qmail 11565 invoked by uid 1000); 8 Sep 1999 20:23:02 -0000 Date: Wed, 8 Sep 1999 16:23:02 -0400 From: Chris Johnson To: Deepwell Internet Cc: freebsd-isp@freebsd.org Subject: Re: script for FTPing Message-ID: <19990908162302.A11552@palomine.net> References: <4.2.0.58.19990908115306.00c61a00@mail1.dcomm.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <4.2.0.58.19990908115306.00c61a00@mail1.dcomm.net>; from Deepwell Internet on Wed, Sep 08, 1999 at 12:00:15PM -0700 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Sep 08, 1999 at 12:00:15PM -0700, Deepwell Internet wrote: > Hello, > I am trying to design a set of shell/perl scripts to generate and > automatically distribute html files to a bunch of sites. Basically it > involves us uploading pages once a day to various sites. It's not a mirror > because each site gets a slightly different page. > > I was wondering if anyone knew of a good way of uploading via FTP to a > foreign site. I can write this into the perl script, but if there is > something robust that is already around I'd rather use that. > > I need to be able to give a directory or list of files, a sitename, a path, > a username, and a password to the program and have it FTP all the files to > the foreign location. It needs to recognize a failed transfer and try back > a set number of times. If it fails beyond this I need the ability to send > an Email or run an external program. I use ncftpput, from the ncftp3 port. It's been working just fine for me. Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message