Date: Wed, 5 Sep 2001 21:15:06 -0500 From: "Stephen Hilton" <nospam@hiltonbsd.com> To: "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG> Subject: Re: FTP Command Message-ID: <KPEMJADBBBFPDEDOIOMBAEILCNAA.nospam@hiltonbsd.com>
next in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?KPEMJADBBBFPDEDOIOMBAEILCNAA.nospam>