How to transfer a folder from one server to another

Issue :

Need to transfer a folder from a remote server to the local server.

Solution :

One way of doing this is using the ‘wget’ command.

First, log in to your server via SSH and and launch wget mirroring using the following command :

wget -m ftp://username:password@ftp.host/folder/

Do replace the above with the corresponding values.

This will mirror the folder to your current directory location.

Finally, copy the downloaded files from the ftp.host/ directory to where you need them to be.

The main advantage of this method is that it is much more interactive and has many options.
Use ‘wget –help’ or ‘man wget’ for more information on this.

Source : WHT

Filed Under: Quick fixesTechnical

Tags:

About the Author: InstaCarma is a provider of Enterprise Class Solutions for the Hosting Industry

RSSComments (0)

Trackback URL

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
InstaCarma provides outsourced web hosting technical support, helpdesk management, datacenter automation, cloud service management. Sales - 1800 810 6547 - visit www.instacarma.com