Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!ncar!gatech!hubcap!ncrcae!ncr-sd!crash!jadpc!jdeitch From: jdeitch@jadpc.cts.com (Jim Deitch) Newsgroups: comp.unix.questions Subject: Re: FTP directories Message-ID: <1991May10.065919.3216@jadpc.cts.com> Date: 10 May 91 06:59:19 GMT References: <3549@beguine.UUCP> <1991Apr29.203050.8621@athena.mit.edu> <2399@muffin.cme.nist.gov> Organization: Network Engineering Technologies, San Diego, CA. Lines: 24 In article <2399@muffin.cme.nist.gov> libes@cme.nist.gov (Don Libes) writes: >In article <1991Apr29.203050.8621@athena.mit.edu> jik@athena.mit.edu (Jonathan I. Kamens) writes: >>In article <3549@beguine.UUCP>, mpaf1216@med.unc.edu (Matthew Sean Pardo) writes: >>|> Is there a way to FTP a directory or subdirectory > >> No. You can use "mget" to tell it to get multiple files in a directory, but >>there is no way to do recursive retrievals of a directory. > >rftp (for "recursive ftp") is an expect script that ftps directories. >It comes with the expect distribution. (Email "send pub/expect.shar.Z" >to library@cme.nist.gov or anonymous ftp same from durer.cme.nist.gov.) > >Don Libes libes@cme.nist.gov ...!uunet!cme-durer!libes The mget in my ISC ftp will recursivley get directories, if they exist on the target machine already. If I want a directory tree all I do is get the layout and then go to shell, make the directories, go to the top of the tree, and do my mget. Jim -- ARPANET: jadpc!jdeitch@nosc.mil INTERNET: jdeitch@jadpc.cts.com UUCP: nosc!jadpc!jdeitch