Filezilla Tutorial

Transfer files securely using sftp and ssh keys

Basic Concepts

FTP (file transfer protocol) software is used to transfer a copy of your files from your computer to a remote computer, or to download files from a remote server. This is mainly used to transfer files onto a web server so that folks can SEE your files. So if you need to upload a picture, flash, mp3 or html file, Filezilla is a great open source program for you. And while it takes a few steps to set up, it supports SFTP (Secure File Transfer Protocol) which is required for uploading your web files. NEVER use a username/password unless the program supports encryption, which is why SFTP is required.

Command Line

Download and Install Filezilla

  1. Go to Filezilla and click on:
    Hot button to Filezilla Download
  2. It should detect your Operating System and provide a link to download the CLIENT (do NOT choose the Server)
    • WARNING!!! HOWEVER, the main link now includes some annoying adware, and shows up as a "virus" on most machines so, instead choose "Addtional Download Options"
      avoid installing some adware with the main filezilla link
    • Then choose the appropriate link for your OS (I have the windows one highlighted in red)
      Appropriate set of links to download filezilla without adware
  3. Another dialogue box should pop up, asking if you want the "Pro" version, or the free version. Just get the regular free version.
    Filezilla choose client version
  4. Run the installation program and install Filezilla

Connecting to the Server

  1. After filezilla has been installed, start the program.
  2. Then click on "File" and then "Site Manager"
    Filezilla opening Screen
  3. Choose "New Site"
    Filezilla create new site
  4. Give your "New Site" a name (mccserver??) and then fill out
    • Host: hostname.com goes here (name is in Canvas)
    • Port: port # is in Canvas)
    • Protocol: Change to SFTP
      Filezilla start configuring new site
  5. Change "Logon Type:" from "Anonymous" to Key File
    Filezilla change logon type
  6. Filezilla used to require the key file in ppk (putty private key) format, but of late that has been buggy, so we will use the standard PEM file. If you have an RSA key in PEM format, it must also have the .pem file extension or filezilla seems to get confused.
  7. For "User:" put in the username set up in class and then click Browse to locate your key file
    Filezilla set Username then Browse for Key file
  8. The "Choose a Key File" window pops up. Make SURE that you have it set to ppk files (in the lower right corner) and then find your .ppk file and select it, and Open (pem files may or may not work)
    Filezilla choose ppk file
  9. The path to the key file should now show up, and you can Connect
    Connect to your site
  10. IF all goes well, you should see the active connection Transfer Page
    Filezilla Active Connection Transfer Page
    • Note: the public_html folder is JUST for your web/html files
    • DO NOT put anything in public_html that should not be available to the entire world

Using the Filezilla Tool

Parts of the Program

  1. On the left side you see Local site
    • This is YOUR machine
    • Most of the time you will transfer your local files to the Remote Site aka up loading files
  2. On the right side you have the Remote site:
    • The path starts out in your home directory, which will be /home/stu/yourusernamehere (obviously it will have YOUR username, not the word "yourusernamehere"
    • For your files to be available for viewing, you must transfer them into the public_html folder
    • Double Click on public_html and the Remote site: path should now be /home/stu/yourusernamehere/public_html
  3. on the left side, you can now transfer a file from your machine to the remote machine in 3 ways
    • double click on the file you want to send
    • click and drag the file from the left side to the right side
    • right click on the file and choose "upload"

The Web Url

Reasons why your content may not be showing

  1. you put the files in the wrong folder. If you put them in /home/stu/yourusernamehere instead of /home/stu/yourusernamehere/public_html you will have to delete the file and re upload it. Do not just try to move it on the "Remote site:", it will have the wrong security context and it will not be viewable.
  2. you made a mistake typing up the URL
  3. You forgot to upload a file
  4. Your HTML/code has an error in it
  5. You forgot that the internet is case sensitive, so your file is sports.html but the URL has Sports.html

Page last updated on 20240826

HTML 5 Validation CSS 3 Validation Web Accessibility EValuator