How to 'ftp' automatically???
Peter Scott
pjs at socrates.Jpl.Nasa.Gov
Sat Jul 14 06:56:13 AEST 1990
> In article <3587 at zorba.Tynan.COM> jimli at milton.u.washington.edu (Jimmy
Li) writes:
> >Everytime I login on my school Unix machine, I need to ftp several files to
> >my accounts on another machine. It gets pretty tedious typing in username,
> >passwood, and so on over and over again.
>
> >So, my question is : Could anyone show me a C program (or a shell program?)
> >that would take a filename as an argument and 'ftp' it to another machine
> >automatically?
>
> Why not use "rcp" (Remote CoPy)? If you've got ftp then you've probably got
> this.
Didn't see the original posting but certainly would like to see a solution.
We transfer software between many systems that aren't running Unix but do
have ftp, and could use an automatic method of running ftp so we can insert
it in delivery scripts. Say for the sake of argument that the request
to receive or send a file(s) will be initiated on a Sun 3 system running
SunOS 4.1.
This is news. This is your | Peter Scott, NASA/JPL/Caltech
brain on news. Any questions? | (pjs at aristotle.jpl.nasa.gov)
More information about the Comp.unix
mailing list