From owner-freebsd-questions Wed Sep 5 19:13: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 B245437B407 for ; Wed, 5 Sep 2001 19:13:43 -0700 (PDT) Received: from [209.224.33.147] (helo=daggar) by hermes.pressenter.com with smtp (Exim 3.16 #1) id 15eofg-000889-00 for freebsd-questions@FreeBSD.ORG; Wed, 05 Sep 2001 21:13:37 -0500 From: "Stephen Hilton" To: "FreeBSD Questions" Subject: Re: FTP Command Date: Wed, 5 Sep 2001 21:15:06 -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 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 > Using FTP command line, what are the commands to GET and PUT whole > directories and subdirectories within...??? Nothing (obvious to me) > in the 'man' covers this and I haven't run across it anywhere else > yet.... thanks for any tips...! 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