By Ivy / Last Updated July 16, 2020

Have the need to transfer files from one server to another, but don't know how to realize this goal? Don't worry! This is now a command demand of many users, and why this article be generated.

In this article, you will get 2 common ways and one easier way, all of them can help you out of this trouble. Then, let's have a closer look at this article.

How to transfer files from server to server?

If you have done a in-depth research about this topic online, you may know that there are probably three methods, including FTP (File Transfer Protocol), SCP (Secure Copy Protocol), and third-party transfer software. Please note that the server here is not an operating system, but a device that centrally manages resources. It can be any operating system, for example, Windows 10 or Server 2012.

Now, let's talk about the first one. To copy files using FTP, you can choose to download Filezilla or other FTP desktop tool, configure and use it to upload or download files between two remote servers, or make fully use of Windows file manager to connect the remote server, eg: File Explore in Windows 8/10, Windows Explorer in Windows 7, then copy and past from or to this server.

Then, the second and most popular SCP seems to be a priority for majority users. It's a command-line tool based on SSH protocol to help users transfer files and entire folders either from local to remote, remote to local, or remote to remote without downloading and uploading. It's a native feature of Windows 10, Linux and Mac and you could directly use Terminal for Mac or Command Prompt in Windows. If you use Windows 8.1 and previous system, you need to use Putty, known as Windows SSH app. It's said, this tool is easier than FTP. But the decision is yours.

In addition, your still have one more choice, using a third-party transfer software like AOMEI Backupper Server. It has a file sync feature, which can help you sync files from server to server with the same network segment. Also, the schedule sync is supported, not only include flexisible sync interval, such as, daily/weekly/monthly, but also real-time sync to always monitor changes and sync the detected files immediately.

2 common ways to transfer files from one server to another

Method 1: Connect FTP server and copy files from one server to another in Windows

To transfer files between 2 Windows servers, the traditional way is to use FTP desktop app as a middle-man. And This is what most companies do, so I won’t go into details. Here, I'll introduce you a new way to transfer files using FTP. Without further ado, let's get started, taking Windows 10 as an example.

1. Open File Explorer, select This PC, then right-click the blank space and choose "Add a network location".

Add A Network Location

2. In the new pop-up window, click "Choose a custom network location" to move on.

Choose Custome Network Location

3. Then, type the ftp server address and the form is ftp://server.com. Then, you will be asked to type username and password if your server has one. If not, check "Log on anonymously" for limited access.

Type Ftp Address

4. Type a name you like or easy to remember. Later, you will see the FTP site under the Network locations link in This PC.

Name Your Ftp

Transfer Files From To Server

5. Copy and paste files or folders from this server, or to it.

Method 2: Transfer files between two servers with SCP

As you know, SCP is based on SSH, so you need an SSH key or password for authentication on the remote systems. Meanwhile, SCP will overwritten files without warning if both of them have the same name and location on two systems, whether local or remote. That's what you need to pay attention to. Then, get details below.

In the first place, learn the SCP command syntax.

The basic one: scp . If either of the path is on the remote system, please add server address first. eg: @:.

Then, open command prompt in Windows 10, transfer files with the following syntax and replace the parameters with your own.

1. To transfer file or directory from local system to remote, the syntax are sequently:

scp @:

scp -r @:

2. To copy file from remote server to local machine, the syntax are respectively:

scp @:

scp -r @:

3. To transfer file between two remote servers ( passwords required for both system), the syntax is:

scp @: @:

Notes ✎...
refers to username of remote server.
means the address of remote server, either IP address or domain name.
is path of local file.
refers to path of files on the remote system.
means path of directory on local system.
is the path of directory on remote server.
• -r stands for recursive, an option of SCP, used when copy directory.

Easier way to transfer files from server to server

AOMEI Backupper Server can do a great job to help you transfer files from one server to another for all Windows system, including server 2012/2012 R2/2016/2019 and other previous version, Windows 7/8/10. It supports syncing large amounts of files and various file system and not just NTFS, such as, FAT32, FTA, EXT4, etc. Moreover, it allows you to automatically transfer files between Windows Servers with its schedule sync settings, daily/weekly/monthly, real-time sync, file filter etc. Next, let's see how it works.

1. Download AOMEI Backupper Server and install it. Then, launch this software and click "Backup" and "File Sync" subsequently.

Download Free Trial Server 2012/2012 R2/2016/201/Win 10/8/7
Secure Download

File Sync

2. Click "+ Add Folder" to select the files or folders on the local computer you want to sync. Then, click the inverted triangle > "Select a network location" >"Add network location", and type the required information in the next window to add your server as a network location and select a target path.

Add Folder to Sync

Notes ✎...
• If your files or folders are on a remote server, please add the server as network location first, then select files need to be sync.
• If you only want to sync files with certain file extension, click the funnel shapped icon next to the selected folders, and include or exclude file extension you want to sync.

3. To automatic sync files, click "Schedule" and select your preference setting. After that, click "Start Sync" to begin the pending operation.

Schedule Settings General

Tips ღ
• If you want to sync files during system shutdown, click "Event triggers" and select "System shutdown" option. It will sync your files and then turn off your computer.
• If you modify files very frequently, it's suggested to sync files daily or in real-time to keep changes.
• Aside from directly transferring files from server to server, you still can sync files to external hard drive like HDD, SSD, flash drive, CD/DVD etc and connect it to another server via a connector, whether USB port, adapter or encloser. Similarly, it's feasible to synchronize files to NAS or cloud storage and access them from a computer.

Conclusion

That's all for how to transfer files from server to server in all kinds of operating system, including Windows 7/8/10, Server 2003/2008/2012/2016/2019 and its R2 version. In sum, there are 3 methods, FTP for Windows 7/8/10, SCP for command line, AOMEI Backupper for all operating systems and command line. Now, it's your turn.

It's suggested to keep AOMEI Backupper installed on your computer, which can help you backup your server and retain an exact copy of your system and data for disaster recovery. It supports system backup, disk backup, file backup, incremental and differential backup, delete old backup, dissimilar hardware restore etc.

To protect unlimited PCs and servers, you could consider using AOMEI Backupper Tech Plus. With it, you can enjoy all the paid features, copy installation directory to create portable version, and provide billable technical support as a service to unlimited clients.