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 

Command

ncftpget -T -R -v -u "ftpuser" -p "pa55Word" ftp-server-name.net /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.

/full/destination/path/in/server/source-folder
Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s