Transfer files using ncftp from remote server

If you only have ftp access to a server, you can use ncftp command to transfer the files.

Install ncftp in Centos

 yum install epel-release
 yum install ncftp 


ncftpget -T -R -v -u "ftpuser" -p "pa55Word" /full/destination/path/in/server /source-folder 

Above command will transfer contents from source-folder in your remote server to /full/destination/path/in/server/ in your host server. Folder source-folder will be recreated in the host server. For eg. after executing the above command, you can find the contents in the following location in your host server.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s