From owner-freebsd-questions Tue Oct 22 12:50:40 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA26264 for questions-outgoing; Tue, 22 Oct 1996 12:50:40 -0700 (PDT) Received: from firewall.mc.com (firewall.mc.com [192.148.197.15]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA26257 for ; Tue, 22 Oct 1996 12:50:36 -0700 (PDT) Received: by firewall.mc.com id AA07882 (5.65c/IDA-1.4.4 for ); Tue, 22 Oct 1996 15:50:31 -0400 Received: from jericho.mc.com(192.233.16.4) by firewall via smap (V1.3) id sma007879; Tue Oct 22 15:49:58 1996 Received: from frodo.mc.com (frodo [192.233.16.102]) by jericho (8.6.11/8.6.11) with ESMTP id PAA20164; Tue, 22 Oct 1996 15:49:58 -0400 Received: by frodo.mc.com (SMI-8.6/SMI-SVR4) id PAA18424; Tue, 22 Oct 1996 15:49:47 -0400 Date: Tue, 22 Oct 1996 15:49:47 -0400 From: jtn@mc.com (Jason Nelson) Message-Id: <199610221949.PAA18424@frodo.mc.com> To: questions@freebsd.org, hmmm@alaska.net Subject: Re: ftp netrc Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Md5: 3Qc4UInNVy6xw3o8taabQA== Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > i have a NETRC machine entry for my isp. it just logs me and and = lists=20 > my dir, and i want to leave that AS IS. however, i'd like to write a = SH=20 > script that will automatically back up my work and then FTP the = archive=20 > to my isp, then exit, and shutdown. >=20 > it doesn't seem possible to : ftp send xyz.file > on the command line >=20 > and the NETRC file seems to allow only one entry per machine. >=20 > so - i can't see how i can do this >=20 > but i know with UNIX all things are possible, right? ! Look for ncftp in the packages.. or better, try "fetch" which comes with = all=20 versions after and including 2.1.5. It allows you to grab a file = according to a=20 URL, for instance: fetch ftp://ftp.somewhere.edu/home/username/thisfile.tar.gz -- Jason T. Nelson Mercury Computer Systems, Inc Chelmsford, MA PGP fingerprint =3D C5 13 96 4F 7C 75 7E 4B AB 0A A4 CE AA 4C 43 72 disclaimer: I speak for no one but myself.