NEED SOME HELP
CLICK HERE OR CALL US ON

Go4hosting +91-120-6025102

Go4hosting 1-888-288-3570

Delivering Excellence in Data center Hosting Solutions since 2000
Submit

Have questions? Let us answer them all!

cP53A
How To

How to transfer files from one linux server to another

Transferring files from one server to another is inevitable in a multi-server Linux environment. There are many commands that can help you to carry out the file transfer task. But this would depend on the number of files that need to be transferred.

Transferring a single file from one Linux server to another:

For a single file:


In this case, you can make use of the "SCP" command. It is basically a "push" / "pull" command with built in SSH command which can be used here for pushing your file from server 1 to server 2. It copies the file in a safe manner. Read through the following steps to know the process.

Open a tool 'PuTTY'. It is a terminal emulator application. It acts as a client for computing protocols such as SSH, Telnet, rlogin, and TCP. It can be easily downloaded for free directly from Google.

Type the file transfer command in the following convention.

[email protected]_host:target_folder

It reads as "copy file" into "target_folder" at "target_host" using "user account".

So the file gets copied to another system, into the mentioned user id. This file can be pulled from another system with the command as shown below:

[email protected]_host:target_folder file
.

For copying an entire directory:

Make use of the "SCP" command here as well. Add the -r switch so that the copy function an act in a loop till all files get copied. The command would read as shown below.

scp -r [email protected]_host

The complete directory gets copied to another system.

A huge number of files as well as directories:

In case there are enormous number of files and directories that need to be copied, make use of the 'tar' command. This command creates a single file out of the entire directory and file collection. This singular file can be copied as directed above.

There are many other ways to carry out this task because of n-number of Linux tools available in the market. But whatever may be the case, make use of correct file names, user IDs and directory names for a secured file transfer.

Blogs

Handholding on the journey to CDN implementation

Since the advent of internet-based technologies more and more businesses are getting IT enabled. With mobile phones getting smarter day-by-day the reliance on internet for doing business has reached a....

Read more>>

Why is CDN a Must for Businesses with Global Outreach

With high-speed internet becoming ubiquitous, the content in the online world has grown by leaps and bounds over the last decade. Believe it or not, the following happens on the internet every minute:....

Read more>>

Service Name - Need a Customized Solution?

At Go4hosting, customer satisfaction comes first. We are always at our toes to help our clients find the right solution for their business. Go4hosting offers a wide range of solutions including dedicated, VPS, Shared and Cloud Hosting. Backed by 99.95% uptime assurance and complimentary SSL, we are the no. 1 provider of Colocation & Email Hosting Services.

Couldn’t find a service relevant to your business? No worries, we’ll make one for you. Our representatives are 24/7/365 available for your help. You can reach out to us regarding anything in the domain of Hosting, Cloud, Email & Colocation.

Chat Now

Some Of Our Clients

  • indane
  • indane
  • indane
  • indane
  • indane
  • indane
  • indane
  • indane
  • indane
  • indane

Submit Query

Please fill in the form below and we will contact you within 24 hours.

  • Go4hosting
  • Go4hosting
  • Go4hosting
  • Go4hosting
  • Go4hosting
  • Go4hosting
  • Go4hosting
  • Go4hosting
Hosting Support
Live-chat-icon
Live Chat
Go4hosting Footer
Click here for download from Google Playstore |

AWS Standard Consulting Partner

  • Go4hosting
  • Go4hosting

Alibaba Cloud

Go4hosting

Drupal Reseller Hosting Partner

North America Address:

Cyfuture Inc.

7852 Percussion DR
Apex, NC 27539
Wake County

Ph: +1-919-802-6652
Email: [email protected]

Go4hosting