From owner-freebsd-isp Wed Sep 8 15: 2:39 1999 Delivered-To: freebsd-isp@freebsd.org Received: from dumbo.familyinet.net (dumbo.familyinet.net [206.105.51.10]) by hub.freebsd.org (Postfix) with ESMTP id 248AA15BA7 for ; Wed, 8 Sep 1999 15:02:24 -0700 (PDT) (envelope-from phill@freebsd.org) Received: from localhost (phill@localhost) by dumbo.familyinet.net (8.9.1/8.9.1) with ESMTP id RAA19578; Wed, 8 Sep 1999 17:11:56 GMT X-Authentication-Warning: dumbo.familyinet.net: phill owned process doing -bs Date: Wed, 8 Sep 1999 17:11:56 +0000 (GMT) From: Phillip Salzman X-Sender: phill@dumbo.familyinet.net To: Deepwell Internet Cc: freebsd-isp@freebsd.org Subject: Re: script for FTPing In-Reply-To: <4.2.0.58.19990908115306.00c61a00@mail1.dcomm.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Try creating a .ftprc file, it may help... -- Phillip Salzman phill@freebsd.org On Wed, 8 Sep 1999, 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. > > If anyone can help me out I'd really appreciate it. > > -Terry > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message