ah teaches information design

How to Upload Files to SFU

Below are instructions on setting up Cyberduck to FTP files to SFU. We are not using Filezilla for this tutorial as changes to the SFU FTP service have made it more difficult to use this client in particular.

  1. Download and install Cyberduck.

    Library laptops and campus computers will already have Cyberduck installed. Sorry for the change, but due to changes to SFU's FTP service Filezilla makes it a bit harder for you to upload files that will load/run easily.

  2. Open Cyberduck

    The main Cyberduck graphical user interface (UI)

    You will be presented with a display similar to the above upon opening.

  3. Create a New Bookmark

    The main Cyberduck UI with the Bookmark dropdown menu open

    We will need to add a new bookmark: Available under the "Bookmark" dropdown menu is an option for "New Bookmark."

    The Cyberduck bookmark setup UI

    The bookmark setup interface will have a couple of items you need to set, including Protocol, Nickname, Server, Username and Password

    • Protocol: The protocol should be set to SFTP, unlike FTP-SSL which we specified earlier. Recent changes to the SFU FTP server mean that FTP-SSL will not reliably work.
    • Nickname: Give the bookmark a nickname meaningful to you.
    • Server: Should read ftp.sfu.ca
    • Username: This will be your computing ID.
    • Password: This will be your computing password.

    Once done applying all those settings, close the bookmark setup window.

  4. Open the New Bookmark and Connect

    The main Cyberduck UI with the Bookmark listing open

    Once you have closed the bookmark setup window, you can view the bookmark in the listing.

    The main Cyberduck UI with the Bookmark listing open, and a context menu selected for one bookmark highlighting "Connect to Server"

    You can right-click and select "Connect to server" or double-click on the bookmark to connect to the server

  5. Accept the Fingerprint

    A prompt indicating that the server's fingerprint is not recognized

    The first time you connect Cyberduck will ask you to confirm the fingerprint for the server. If you are connecting on a safe connection - i.e. private wifi, university wifi - you can toggle "Always" and then select "Allow."

  6. SFTP Uploads and Permission Issues

    The Cyberduck UI listing all the files on the connected server

    Once you connect Cyberduck will list out all your available files likely including hidden ones (greyed out files). Please remember that any public files should be uploaded to the "pub_html" folder.

    A selection of the listing of files showing files that were just uploaded

    Uploading files to the "pub_html" folder will for now...

    A selection of the listing of files showing files that were just uploaded

    ...result in a "Forbidden" error when trying to access them at http://www.sfu.ca/~YourComputingID

    We need to set up Cyberduck to automatically change the file permissions when it uploads them to ensure we do not end up with forbidden files.

  7. Setting File Permissions

    The Cyberduck UI with the "Edit" dropdown menu open and "Preferences" highlighted

    To have Cyberduck set the correct file permissions for us we will need to adjust the settings under "Edit", to "Preferences."

    The Cyberduck Preferences UI with "Transfers" and "Permissions" selected

    Once we have opened the "Preferences" interface, pelase select the "Transfers" tab, and then the "Permissions" tab under that.

    The Cyberduck Preferences UI with "Transfers" and "Permissions" selected, and "Change Permissions" toggled for files

    Please toggle the "Change permissions" option, and then set the permissions pictured above for files.

    The Cyberduck Preferences UI with "Transfers" and "Permissions" selected, and "Change Permissions" toggled for folders

    Then use the dropdown to set the permissions pictured above for folders.

  8. Re-uploading Files

    A selection of the listing of files showing files that were just uploaded

    Remove any old forbidden files and re-upload your files.

    A webpage loaded successfully

    If set correctly, all your files should load with no forbidden errors shown. If you are missing images or files, try repeating the process above.

  9. If Issues Persist

    Please contact Andrew for support.