FreeBSD Server Administration

« About This Blog | Main | Cron Job »

November 03, 2004

Recursively FTP Files

How to get files recursively by FTP?

Update: NcFTP doesn't work well on some FTP servers, the best way to transfer files is using tar command.

NcFTP Client is a very nice tool which enables you get/put files recursively. I used it to transfer my sites, the whole procedure becomes very fast and easy: get all files, export/import DB data, setup necessary configuration for some program (e.g. blog, forums), done. You don't have to upload everything with slow home connection, also needn't to change the scripts' file attributes since FTP maintains all file information. NcFTP also supports bookmarks which is very convenient.

Download the source file here, extract all files and read README.txt for installation guide, it is very straightforward, just run:

# ./configure
# make
# make install

The third step needs root account, but after installation, all users can use the program.

The command for getting files recursively is:

# get -R filename
(You might want to replace "filename" with "." to get current directory.)


Category : FTP

Posted by FreeBSD Newbie at November 3, 2004 08:24 AM

Comments

Post a comment



(Optional, will not be shown to the public)

Remember Me?