*BSD News Article 69884


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!samba.rahul.net!rahul.net!a2i!olivea!hookup!news.mathworks.com!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FTP Script
Date: 31 May 1996 23:10:52 +0100
Organization: Coverform Ltd.
Lines: 22
Message-ID: <4onqpc$hs@anorak.coverform.lan>
References: <31a339af.19094706@news.hq.af.mil>
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Scott Gregory (sgregory@pubspo.hq.af.mil) wrote:
: What is the best (an easiest) way to create a FTP script???

: I'm trying to download multiple directories from another UNIX (SCO)
: box weekly and would like to set this up automatically with crontab,
: but I don't have any idea how (or where to look) to create a script.

: A co-worker created a test script, but as soon as it logs in it doen't
: go back to the script to find out what it is supposed to do.

: Any assistance would be greatly appreciated.

If you've got ncftp, you can run

    ncftp server:/directory/*

If you're trusted on the SCO box, use rcp.


--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....