Date: Tue, 22 Oct 1996 15:49:47 -0400 From: jtn@mc.com (Jason Nelson) To: questions@freebsd.org, hmmm@alaska.net Subject: Re: ftp netrc Message-ID: <199610221949.PAA18424@frodo.mc.com>
next in thread | raw e-mail | index | archive | help
> i have a NETRC machine entry for my isp. it just logs me and and lists > my dir, and i want to leave that AS IS. however, i'd like to write a SH > script that will automatically back up my work and then FTP the archive > to my isp, then exit, and shutdown. > > it doesn't seem possible to : ftp send xyz.file > on the command line > > and the NETRC file seems to allow only one entry per machine. > > so - i can't see how i can do this > > but i know with UNIX all things are possible, right? ! Look for ncftp in the packages.. or better, try "fetch" which comes with all versions after and including 2.1.5. It allows you to grab a file according to a URL, for instance: fetch ftp://ftp.somewhere.edu/home/username/thisfile.tar.gz -- Jason T. Nelson <jtn@mc.com> Mercury Computer Systems, Inc Chelmsford, MA PGP fingerprint = C5 13 96 4F 7C 75 7E 4B AB 0A A4 CE AA 4C 43 72 disclaimer: I speak for no one but myself.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610221949.PAA18424>
