From owner-freebsd-questions Sat Sep 29 18:47:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hermes.pressenter.com (hermes.pressenter.com [209.224.20.19]) by hub.freebsd.org (Postfix) with ESMTP id 8074637B40E for ; Sat, 29 Sep 2001 18:47:42 -0700 (PDT) Received: from [209.224.22.34] (helo=daggar) by hermes.pressenter.com with smtp (Exim 3.16 #1) id 15nVhW-0001zI-00; Sat, 29 Sep 2001 20:47:27 -0500 From: "Stephen Hilton" To: "Keith Spencer" Cc: "FreeBSD Questions" Subject: RE: how to ftp download a dir tree Date: Sat, 29 Sep 2001 20:47:49 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal In-Reply-To: <20010928052107.27432.qmail@web12002.mail.yahoo.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > -----Original Message----- > Hi all, > I can't recall the command to mget all including the > directory tree . > I had to tar it but I cant recall. > Thanks > Keith I would install the ncftp3 port or package on your system for this kind of task. I use ncftp3 quite a bit and am very pleased with its operation. With ncftp installed and connected to the site you want to download a sub-directory called "srcfiles" from: ncftp> mget -R srcfiles The -R argument tells the ncftp file transfer to act recursively From the FreeBSD 4.3 FTP man page: Note: mget and mput are not meant to transfer entire directory subtrees of files. That can be done by transferring a tar(1) archive of the subtree (in binary mode). Regards, Stephen Hilton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message