Contact
Site: US UK AU |

How to transfer files to a server with SFTP

How to transfer files to a server with SFTP

Overview

SFTP, or SSH (or secure) file transfer protocol, encrypts files as they are being transmitted using an SSH connection. This method is preferred over FTP when transferring confidential data, as FTP poses significant security risks despite its popularity. 

This article provides two possible methods of performing SFTP transfers: WinSCP and FileZilla.

Method 1: WinSCP

  1. Install and start the WinSCP application on your local computer, after which the startup panel appears. On the upper right, click New.
  2. Fill the fields as follows:

    1. File protocol: SFTP
    2. Host name: Enter the hostname provided in your Nexcess Welcome Email, or contact our Support Team for it. It will resemble <demoserver>.nexcess.net, but you will replace <demoserver> with the actual name.
    3. User name and Password: If these are unknown to you, you may view your SSH account user name and reset your password in SiteWorx. See How to reset your SSH password and add SSH keys in SiteWorx for details, or contact our Support Team
    4. Port: 24

  3. If this is the first time logging into the server, you will see the message. This message warns you are connecting to a remote machine; click Yes.  


  4. WinSCP will connect you to the Nexcess server and you will see the window shown below.


  5. To move a file, drag-and-drop the files from the origin folder to your destination folder. 

Method 2: SFTP with FileZilla

  1. Launch the FileZilla application on your computer.  
  2. On the upper left, directly below the File drop-down list, click Site Manager.  


  3. Click New Site. 


  4. In the General tab, fill the following fields:


    1. Protocol: "SFTP"
    2. Port: 24
    3. Logon Type: "Normal"
    4. Host: Enter the hostname provided in your Nexcess Welcome Email, or contact our Support Team for it. It will resemble <example>.nexcess.net, but you will replace <example> and the angled brackets (<>) with the actual name.
    5. User name and Password: If these are unknown to you, you may view your SSH account user name and reset your password in SiteWorx. See How to reset your SSH password and add SSH keys in SiteWorx for details, or contact our Support Team

  5. Click Connect.
  6. To move a file, drag-and-drop the files from the origin folder to your destination folder.  

For 24-hour assistance any day of the year, contact our Support Team by email or through the Client Portal.

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
What is Subversion?
Added on Mon, Aug 18, 2014
How to create SSH keys in Windows with PuTTY
Added on Tue, Jul 25, 2017
What are file and directory permissions?
Added on Wed, Nov 12, 2014
How to use two-factor authentication in the Client Portal
Added on Wed, May 30, 2018
How to improve the security of your Magento store
Added on Wed, Nov 12, 2014
What is chmod?
Added on Mon, Feb 23, 2015
How to conserve disk space in Magento
Added on Fri, Jan 17, 2014
How to optimize JPEGs, PNGs, and GIFs from the CLI
Added on Tue, Jan 24, 2017
What is rsync?
Added on Mon, Feb 23, 2015
How to create a secure password
Added on Wed, Nov 12, 2014