Nowadays, transferring files from computer to server and also from server to computer is one of concerns of users, especially site administrators, which depends on the type of server operating system. This article will teach you how to transfer files from RDP Admin to a Linux Server.
Tutorial Transfer File From Windows RDP Admin to Linux VPS
What is RDP?
RDP stands for Remote Desktop Protocol and is a common protocol for remotely connecting to a desktop computer. RDP allows the client computer to view the remote computer screen and establish a kind of console but remote connection to it. The RDP protocol is a proprietary protocol of Microsoft and uses the TCP protocol port number 3389 for communication by default. To use the RDP, the user should use RDP client software or Remote Desktop Connection, while the host computer need to run the RDP Server software. RDP Client is available for most versions of Windows and other operating systems including Linux, Unix, macOS, iOS and Android.
Introducing Linux Server
A Linux virtual server is a dedicated VPS that runs on its proprietary Linux operating system. The virtual server is hosted on a physical server and can be managed independently. The Linux server is more stable than other servers and has the largest market share.
Advantages of Linux Server
- easy to use
- high security
- ability to modify and improve the virtual server for users
Transfer File From RDP Admin to Linux Server
Transferring files from one server to another is one of the issues that a server administrator faces. Many users have a difficult path when they want to transfer their files between two servers, while with the right tools, this process can be easy. Methods of doing this process:
- Copy files via SSH
- File transfer by FTP
- Use of sync software
- Sharing network folders
Copy files via SSH
By setting up and activating SSH on a Linux device, you can send data from one server to another via the command line.
First step: Open a terminal, then update the OS:
sudo apt update
Second stage: Install the OpenSSH server:
sudo apt install openssh-server
Third step: Use the following command to check if the OpenSSH server is activate:
sudo service ssh status
Forth step: Download an SSH client such as PuTTY and the PSCP (secure copy client) tool from the PuTTY homepage. Install PuTTY on your system (PSCP does not need to be installed). Save the downloaded pscp.exe file to the root of the Windows C: \ drive . You can verify the IP address of the Linux device according to the following command:
You can transfer a file from windows to Linux as follows:
c:\pscp c: ome\path\to\a\file.txt [email protected]:\home\user ome\path ewname.txt
You must enter Linux computer password to begin the transfer.
Use the following command to copy data from Linux to Windows in the same SSH session:
c:\pscp [email protected]:\home\user ome\file.txt .
Note the lone period at the end—include this or the transfer will not work.
File transfer by FTP
You can use a file transfer protocol (FTP) program with SSH support. Transferring files via SFTP in a mouse-based interface is easier than using typed commands.
Before starting, an SSH server must be running on a Linux device. Also install an FTP application on Windows such as FileZilla that supports SFTP.
To do this, first run FileZilla, then:
- Open File > Site manager
- Create a New Site
- Set the protocol to SFTP
- Add the desired IP address to the Host
- Specify a username and password
- Set the Logon Type to the Normal
- Click Connect when it is ready
Use of sync software
The next option is to use file synchronization program. These applications are multi-platform and use an encrypted key to manage communication between devices.
To sync data, install the app, after creating sync folder, create the key. Set this on the second computer. To do this, we introduce two software:
- Resilio Sync: This app (formerly known as BitTorrent Sync) is available on any platform. The free version of this app is enough to sync two devices.
- SyncThing: This app is a free alternative to Resilio Sync for Linux, Windows, macOS and Android.
Sharing network folders
The easiest way to share files between Windows and Linux machines is to use network folders. By creating shared network folders, you install a Windows directory on Linux or Linux directory on Windows over a network. So you can use the same files and folders in Windows and Linux at the same time.
To start the installation, first edit the network connections. To do this right-click on the network connection icon on the system tray.
Then from the Open Network & Internet Settings section, select the Sharing options and enable the following:
- Turn on network discovery.
- Turn on file and printer sharing.
After saving the changes, go to the folder on the file system that you want to share over the network. Right-click on the folder and select Properties. Then open the Sharing tab and click on Advanced Sharing and select Share this folder. You can manage permissions by clicking Permissions button on the same page. Finally save the settings.
To access this list of Windows on your Linux system, open the Linux system’s file browser and select Network. Now you can start the exchanging data from the Windows-hosted folder.
In this article, we taught you How to Transfer File From RDP Admin to Linux Server. Sharing files between Windows and Linux is easy. If you have questions, you can ask in Comments. I hope you enjoyed this article.