SFTP (Secure File Transfer Protocol) with FileZilla for Windows

SFTP (Secure File Transfer Protocol) with FileZilla for Windows

The Secure File Transfer Protocol is a network protocol that provides secure file access, file transfer and file management functionality

A. Set up a secure file transfer connection

  1. Start FileZilla (download it free from http://filezilla-project.org/download.php (Intel version)).
  2. Click File -> Site Manager.
  3. sftp filezilla win 01
  4. In Site Manager Windows, click New Site button.
  5. sftp filezilla win 02
  6. Type in the remote system you intend to connect to in the Host field.Depending on the remote system you intend to connect, the remote host server names are as follows:
    Remote Server Purpose
    web.hku.hk personal websites
    hpc2015-file.hku.hk high performance computing cluster
    htclogin.hku.hk high throughput computing service
    For example, if your personal website is http://web.hku.hk/~yourUID, enter web.hku.hk in the Host field. If your department website is http://www.hku.hk/yourUID, enter www.hku.hk in the Host field.
  7. In Port field, type 22.
  8. In the Server-Type drop-down menu, select SFTP – SSH File Transfer Protocol.
  9. sftp filezilla win 03
  10. For Logon Type field, select Normal.
  11. Type your account name (HKU Portal UID) in the User field (you must have an account on the web host server).
  12. Type your account password (HKU Portal PIN) in the Password field.
  13. In Site Manager windows, click the Connect button.
  14. sftp filezilla win 04
  15. You will see a pop-up window below. This is a feature of the SSH protocol. It is designed to protect you against a network attack known as “spoofing” which will secretly redirect your connection to a different computer in order to steal your password. Click OK to continue.
  16. sftp filezilla win 05
  17. In the FileZilla window, the local system (your PC) appears in the left window and the remote system appears in the right window.
  18. sftp filezilla win 06
  19. To upload a file, drag the file from the the left window to the right window.
  20. To download a file, drag the file from the right window to the left window.

B. Exit FileZilla

  1. To end your session, click the menu File on the top menu > Exit.



Multi-Factor Authentication

February 2024
February 2024

Mandatory for all staff accounts

May 2024
May 2024

Mandatory for all student accounts