English
+370 5 205 5502 sales@monovm.com

In this blog, we will describe the exact steps, with illustrations, to uploading files to a Linux VPS from a Windows PC.

24

Dec, 18

How to Upload Files to a Linux VPS from Windows?

In this article, we will explain how to upload local files from a Windows-based PC to a Linux VPS (e.g. CentOS, Ubuntu, Debian, etc.). In this case, the Windows PC will be referred to as the source and the Linux VPS will be referred to as the destination.

  • For the purposes of demonstartion, we have created a file on the desktop named “test.txt”.

How to Upload Files to a Linux VPS from Windows?

  • Open “Run” by pressing the windows key on your keyboard+R or by typing run into the search bar
  • In the opened window type cmd and press Enter.

How to Upload Files to a Linux VPS from Windows?

  • 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).
  • Use “SCP” command in the same format as shown below to upload the file.
      “SCP filename.extension username@server_address:file/path”
3
  • If this is your first time connecting to the server, Windows will ask you to accept the security alert. Please do so.
  • Next you will have to enter the destination server's password.

4

  • Once the correct password has been entered, your file will be uploaded.

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

5

As seen below, the file has been uploaded and is available on the server.

6

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.