From owner-freebsd-isp Wed Sep 8 12: 8:52 1999 Delivered-To: freebsd-isp@freebsd.org Received: from kerouac.deepwell.com (deepwell.com [209.63.174.12]) by hub.freebsd.org (Postfix) with SMTP id 32CD71503C for ; Wed, 8 Sep 1999 12:08:46 -0700 (PDT) (envelope-from freebsd@deepwell.com) Received: (qmail 24595 invoked from network); 8 Sep 1999 19:52:39 -0000 Received: from proxy.dcomm.net (HELO terry) (209.63.175.10) by deepwell.com with SMTP; 8 Sep 1999 19:52:39 -0000 Message-Id: <4.2.0.58.19990908115306.00c61a00@mail1.dcomm.net> X-Sender: freebsd@mail.deepwell.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Wed, 08 Sep 1999 12:00:15 -0700 To: freebsd-isp@freebsd.org From: Deepwell Internet Subject: script for FTPing Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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