CyberMonday Special Offer
+370 5 205 5502

How to transfer files From Windows to Linux Server [Complete Guide]

Looking to know how you can transfer files from windows to a Linux server? This guide will help you with that to achieve your goal with some simple steps listed here.

13 Feb, 22 by Oliver K 3 min Read

List of content you will read in this article:

You have a connected Linux server i.e. working and testing it. Now you want to transfer files from windows to a Linux server, So you can work on them, however, it is not as simple as you think. It is well known that working with servers, especially those running a command line interface can be somewhat burdensome.

In this article, we will help you to upload local files from a Windows-based PC to a Linux VPS server whereas, if you looking to transfer files from a Windows PC to a Windows server then you can read this blog post to get the desired goal.

To understand the concept in an easier way, the Windows PC you are transferring the files from will be referred to as the source and the Linux Server you are transferring the files to, will be referred to as the destination. For demonstration purposes, we have created a file on the desktop named “test.txt”.

Follow these simple steps to upload files from a Windows computer to the Linux server:

Step 1: Open “Run” by pressing the Windows key +R on your keyboard at the same time, or by typing run into the search bar.

Step 2: In the opened run window, type cmd and press Enter.

Step 3: Enter the file's directory by typing cd followed by the file path. (In this case, the file is on the desktop, so we write cd desktop).

Step 4: Use “SCP” command in the same format as shown below to upload the file.

SCP filename.extension username@serveraddress:filepath


  • filename.extension: the name of the file and its extension (test.txt in our case)
  • username: the username used to connect to VPS (root in our case)
  • serveraddress: the IP address of the VPS
  • filepath: the path where you want the file to be copied to (/etc/ssh in our case)

Step 5: If this is your first time connecting to the server, Windows will ask you to accept the security alert. Please do so.

Step 6: Next, you will have to enter the destination server's password.

And that’s it! Once the correct password has been entered, your file will be uploaded.

To verify that file is transferred, open putty and connect to the destination server. Use “Nano editor” or “vi” editor to open the file.

As can be seen in the following image, the file has been uploaded and is available on the server.

You can also use WinSCP software instead of following the above-listed topics for easier steps or simple ways through which you can achieve the same goal.

Unfortunately, there is no simple way than WCP Software for drag-and-drop that we suggested above to upload/transfer files into the Linux server. In order to be able to do so and manage the virtual private server, you will need to learn how to use the command-line interface. Nevertheless, once you know how to do it, it is not much more difficult than using your PC for your typical daily tasks. We hope that with the help of this article you were able to learn how to transfer files from a Windows system to a Linux Server by using Linux commands. If you have any questions or suggestions, please leave them in the comment section listed below.

People Are Also Reading:

Oliver K

I’m Oliver k. I have MS degree in Computer Engineering. For nearly 5 years that I have been working on web programing and also in last 2 years I have worked on windows and Linux VPS. This is my honor to share my experiences with a new community.

user monovm


2021, May, 21

Hi, Where I can see files on vps server? How can I run website in vps?? How can I create dB in Linux vps server??