From owner-freebsd-questions Wed Apr 30 14:22:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA18668 for questions-outgoing; Wed, 30 Apr 1997 14:22:14 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA18662 for ; Wed, 30 Apr 1997 14:22:13 -0700 (PDT) Received: from accessld.com (sparky.accessld.com [206.71.65.2]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id OAA07707 for ; Wed, 30 Apr 1997 14:22:12 -0700 (PDT) Received: from lancez.accessld.com ([206.71.64.131]) by sparky.accessld.com with SMTP id <28674-1>; Wed, 30 Apr 1997 14:54:18 -0600 Message-Id: <2.2.16.19970430033033.4987fae8@accessld.com> X-Sender: lancez@accessld.com X-Mailer: Windows Eudora Pro Version 2.2 (16) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: questions@freebsd.org From: Lance Subject: [Q] how to automate ftp? Cc: lancez@accessld.com Date: Wed, 30 Apr 1997 14:54:18 -0600 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, there: I'd like to run a program to generate some data files and then ftp these files to a remote site. I want to automate this. I can put the program into cron tab and have it running at specified time (e.g. 3am). But I don't know to automate ftp. Say, I'd like to specify file names, mode(asc/bin), remote site(domain name or IP address), and remote directory(create it if necessary), etc. Appreciate your help! lance lancez@accessld.com