Sunday, February 19, 2012

Copy files and folder via FTP to Linux Server (ncftp)

Check if ncftpget is already installed in your server by typing either one of the commands below.
ncftp -h or which ncftpget

If ncftpget is not installed please follow the steps below to install it.
 1.  rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
2. yum list *NCFTP*
3. yum install ncftp

Please use this command to copy files to the server from an ftp server.
ncftpget -R -v -u -p''


Please find an example below
ncftpget -R -v -u frenchcastles -p'ss135623!@#' 76.34.45.123 /home/files ./*

./* indicate all files from root of ftp server.

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews