*BSD News Article 78989


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.sgi.com!news-peer.gsl.net!news.gsl.net!portc01.blue.aol.com!newsstand.cit.cornell.edu!news.acsu.buffalo.edu!news.drenet.dnd.ca!crc-news.doc.ca!nott!bcarh189.bnr.ca!nrchh45.rich.nt.com!ferret.ocunix.on.ca!resurrect
From: "Jon Care" <Jon.Care@uk.sun.com>
Newsgroups: unix.general,unix.hacks,unix.sys,comp.unix.questions,comp.unix.admin,comp.unix.shell,comp.unix.misc,comp.unix.bsd,comp.os.linux,comp.unix.solaris,comp.unix.sys5.r4,comp.unix.user-friendly,comp.security.unix,comp.unix.unixware,comp.unix.i386,comp.unix.bsd.bsdi.misc,comp.unix.sco.misc
Subject: Re: ftp gurus needed
Followup-To: comp.unix.questions
Date: 22 Sep 1996 03:01:45 +0100
Organization: Sun Microsystems Europe
Lines: 61
Sender: jonc@raphael.uk.sun.com
Distribution: inet
Message-ID: <R.csoiv97nw8m.fsf@raphael.uk.sun.com>
References: <50n5su$22m@magus.cs.utah.edu>
	<323585C3.6D0@Non-HP-Switzerland-om1.om.hp.com>
NNTP-Posting-Host: 129.156.179.101
In-reply-to: Eric Zucker's message of Tue, 10 Sep 1996 17:14:11 +0200
X-Newsreader: Gnus v5.0.15
Xref: euryale.cc.adfa.oz.au comp.unix.questions:88124 comp.unix.admin:47735 comp.unix.shell:36939 comp.unix.misc:25256 comp.unix.bsd:16823 comp.unix.solaris:83551 comp.unix.sys5.r4:11367 comp.unix.user-friendly:4032 comp.security.unix:27935 comp.unix.i386:7475 comp.unix.bsd.bsdi.misc:4955 comp.unix.sco.misc:25192

Reposting article removed by rogue canceller.

>>>>> "Eric" == Eric Zucker <Eric_Zucker@Non-HP-Switzerland-om1.om.hp.com> writes:
In article <323585C3.6D0@Non-HP-Switzerland-om1.om.hp.com> Eric Zucker <Eric_Zucker@Non-HP-Switzerland-om1.om.hp.com> writes:


    Eric> Roger Simmons scribbled:
    >>  Summary: Keywords:
    >> 
    >> I have 3 questions RE: ftp all releated:
    >> 
    >> I am looking for a program/utility or way to do the following:
    >> 
    >> 1.  Is there a way to execute a unix command at the remote host
    >> while at the ftp prompt?  I want to obtain a directory
    >> listing(including subdirectories) on the remote server.  I need
    >> to execute: find . -type d > dirlist.out

Look at what mirror and wuftpd can do for you.

    >> 
    >> and then ftp this file to the local machine
    >> 
    >> 2.  Also is there a way to transfer an entire directory
    >> structure from the remote host to the local machine while
    >> retaining the directory structure on the local machine?

mirror.

    >> 
    >> 3.  Is there a command that will ftp an entire directory
    >> structure and put it all in 1 tar file on the local machine.

mirror.

    >> 
    >> boy this sure would be nice!  The remote system is SVR4.2
    >> 
    >> TIA
    >> 
    >> Roger

    Eric> Can you use rcp ? This is even easier: assume the files you
    Eric> want to get are in account user1 of system2.xyz.org.uk, you
    Eric> are user2 on system1.abc.org.ch

rcp over the internet? Trust of source address authentication? euch...

- Jon.


-- 
# Jon Care, Sun Microsystems European Networking group. ++44 1276 20444
perl -nle 'setpwent;crypt($_,$c)eq$c &&print"$u=$_"while($u,$c)=getpwent'
#  "They came first for the communists, and I didn't speak up because I
# was not a communist. Then they came for the Jews, and I didn't speak up
# because I was not a Jew. Then they came for the trade unionists, and I
# didn't speak up because I was not a trade unionist. Then they came for
# the Catholics, and I didn't speak up because I was a Protestant. Then
# they came for me... and by that time no one was left to speak up." 
#
#                       --- Martin Niemoeller