🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix
Article #147

Re: How to 'ftp' automatically???

#147
From: Peter Scott
Date: Fri, 13 Jul 1990 20:56
22 lines
1693 bytes
> In article <3587@zorba.Tynan.COM> jimli@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@aristotle.jpl.nasa.gov)
Technical Details
Message-ID: <3680@zorba.Tynan.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!rpi!zaphod.mps.ohio-state.edu!mips!zorba!dtynan
References: <3587@zorba.Tynan.COM> <3644@zorba.Tynan.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!rpi!zaphod.mps.ohio-state.edu!mips!zorba!dtynan
From: pjs@socrates.Jpl.Nasa.Gov (Peter Scott)
Newsgroups: comp.unix
Subject: Re: How to 'ftp' automatically???
Message-ID: <3680@zorba.Tynan.COM>
Date: 13 Jul 90 20:56:13 GMT
References: <3587@zorba.Tynan.COM> <3644@zorba.Tynan.COM>
Sender: dtynan@zorba.Tynan.COM
Reply-To: uunet!aristotle.Jpl.Nasa.Gov!pjs
Followup-To: comp.unix
Organization: Jet Propulsion Laboratory, NASA/Caltech
Lines: 22
Approved: dtynan@zorba.Tynan.COM
Apparently-To: comp-unix@ames.arc.nasa.gov