From owner-freebsd-questions Thu Jul 31 01:16:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA16288 for questions-outgoing; Thu, 31 Jul 1997 01:16:34 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA16282 for ; Thu, 31 Jul 1997 01:16:29 -0700 (PDT) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.8.5/8.6.12) id LAA17874; Thu, 31 Jul 1997 11:15:48 +0300 (IDT) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma017872; Thu Jul 31 11:15:43 1997 Message-ID: <33E0495C.1091@barcode.co.il> Date: Thu, 31 Jul 1997 11:14:20 +0300 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m) MIME-Version: 1.0 To: Brian William Francis Tobin XXIX CC: questions@FreeBSD.ORG Subject: Re: copying directories with ftp References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Brian William Francis Tobin XXIX wrote: > > Hello and Thank you. > > Is it possible to copy an entire directory when I use ftp? > > I tried mput -r (like cp -r) but it didn't work. > > Gratefully, > Brian WF Tobin As many said before, with a properly configured server, you can get dir.tar.gz. However, for other cases, I find wget (in the ports) a very find tool (my main use for it is to mirror SNAPs locally...). It lets you download (with command line switches - it's not interactive) hierarchies of ftp or http files. A very powerful and reliable little tool IMHO. Nadav