How to download upload files using WinSCP

WinSCP is a free, open-source SFTP/FTP/FTPS client for Windows.

  1. Download WinSCP from the official website (choose "Installation package").

  2. Open PuTTY and make sure to select the following settings:

    • File Protocol: SFTP
    • Host name: (your server ip)
    • Port number: 22
    • Username: otsmanager
    • Password: (your password)

    If your server IP is 176.31.89.137, the settings should look like this:
    winscp settings

  3. Once connected, you will see a list of commands to use to manage your server.

Tips

  • If you ever get lost in the filesystem, press CTRL+H to go back to your home directory.
  • If you don't see files/directories starting with a dot (.), press CTRL+ALT+H.

Sending/receiving a file to/from a friend

Sharing a file from the server is really easy! Downloading it via WinSCP and uploading to a file sharing site or sharing via e.g. Skype may be slow depending on your connection. However, you can use the full network bandwidth of your server to instantly share a file or a directory!

Here is how to share a file or a directory on your server:

 1otsmanager@176-31-89-137:~$ transfer /path/to/file/or/directory

It may look like this:

 1otsmanager@176-31-89-137:~$ transfer forgottenserver/
 2######################################################################## 100.0%
 3https://transfer.sh/HqJs7/forgottenserver.zip  
 4otsmanager@176-31-89-137:~$

As a result you get a download link that you can instantly download with no captcha or waiting time!

# Downloading a file from a friend

Let's do the opposite. Your friend (or you) uploaded a file from their desktop to https://transfer.sh.

In order to download it, just execute:

 1otsmanager@176-31-89-137:~$ wget [url]

Example:

 1otsmanager@176-31-89-137:~$ wget https://transfer.sh/HqJs7/forgottenserver.zip  
 2--2015-12-18 16:55:36--  https://transfer.sh/HqJs7/forgottenserver.zip  
 3Resolving transfer.sh (transfer.sh)... 54.171.37.237, 54.194.40.145  
 4Connecting to transfer.sh (transfer.sh)|54.171.37.237|:443... connected.  
 5HTTP request sent, awaiting response... 200 OK  
 6Length: 39344766 (38M) [application/zip]  
 7Saving to: ‘forgottenserver.zip’
 8
 9forgottenserver.zip 100%[=====================>]  37.52M  20.3MB/s   in 1.8s
10
112015-12-18 16:55:38 (20.3 MB/s) - ‘forgottenserver.zip’ saved [39344766/39344766]
12
13otsmanager@176-31-89-137:~$