From owner-freebsd-questions Mon Feb 17 08:26:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA25280 for questions-outgoing; Mon, 17 Feb 1997 08:26:59 -0800 (PST) Received: from narcissus.ml.org (root@brosenga.Pitzer.edu [134.173.120.201]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA25273 for ; Mon, 17 Feb 1997 08:26:56 -0800 (PST) Received: (from ben@localhost) by narcissus.ml.org (8.7.5/8.7.3) id IAA23254; Mon, 17 Feb 1997 08:26:55 -0800 (PST) Date: Mon, 17 Feb 1997 08:26:55 -0800 (PST) From: Snob Art Genre To: John Clark cc: questions@FreeBSD.ORG Subject: Re: Automatic File Send (FTP) In-Reply-To: <3.0.32.19970217105051.00a6f100@netview.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 17 Feb 1997, John Clark wrote: > Hello, > > I am trying to dispatch a file automatically to another server at a given > time. The Cron scheduling is obvious, but what is not obvious is a > practical way of invoking an FTP agent to do the transfer. What I am > thinking of is the reverse of NCFTP's colon mode of file fetching (ie. > ncftp site.name:file.name). The script will also have to send a user name > and pwd. Accomplishing this is not at all obvious. Does anyone have > suggestions? I've never used Expect, but I hear it's good for this sort of thing. Perl is also an option. > Thanks in advance. > > > John Clark > [email@john.net] > Ben "You have your mind on computers, it seems."