From owner-freebsd-questions Tue Feb 17 10:20:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17205 for freebsd-questions-outgoing; Tue, 17 Feb 1998 10:20:38 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dove.peace.com.my (peace.com.my [202.184.153.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA17148 for ; Tue, 17 Feb 1998 10:20:26 -0800 (PST) (envelope-from panda@peace.com.my) Received: from lovebox (love.com.my [202.184.153.17]) by dove.peace.com.my (8.8.5/8.8.5) with SMTP id CAA02622; Wed, 18 Feb 1998 02:04:50 +0800 (SGT) Date: Wed, 18 Feb 1998 02:04:50 +0800 (SGT) Message-Id: <3.0.32.19980218022721.00946d00@peace.com.my> X-Sender: panda@peace.com.my (Unverified) X-Mailer: Windows Eudora Pro Version 3.0 (32) To: michael dorin From: chas Subject: Re: ftp a whole tree? Cc: questions@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I used to use mget (in non-interactive mode) to ftp a directory and its contents but it required having the subdirectory structure in place (a pain in the butt). Nowadays I just tar the directory and ftp the tarball. It's much faster and more reliable. on the source machine : tar cvf mytarball.tar myparentdirectory ftp from one machine to the other : ftp the tarball (mytarball.tar) to the other machine on the destination machine : then tar -xvf mytar.tar on the destination machine. nice b/c it preserves the ownerships on files etc. apologies if you already knew all this. of course, if you only have ftp access then mget is the only way. chas > >> Is it possible using mget to ftp a whole tree? >> > >if you have the same tree in the local directory. > >With ncftp you can get all directory structure. > >> -Mike >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message > > > >-- > > @= > //RSSH mailto:Ruslan@Shevchenko.Kiev.UA > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message