FileZilla
FileZilla is an open-source FTP (File Transfer Protocol) client that allows users to upload and download files to and from FTP servers. It supports various file transfer protocols, including FTP, FTPS (FTP Secure), and SFTP (SSH File Transfer Protocol). When you set up FileZilla, the default remote directory will be incorrect and you’ll need to set up the correct one. This page will guide you through how to set up SFTP and set up a default remote directory in FileZilla.
Set up SFTP in FileZilla
The following steps will guide you through how to set up SFTP in FileZilla. Since SFTP relies on SSH keys for authentication, you must set up SSH keys before following these steps.
Install FileZilla from FileZilla’s website.
- FileZilla may ask you if you want to install McAfee, which is likely unnecessary. However, if you don’t have an antivirus already, consider installing McAfee.
- The FileZilla installer executable can sometimes be marked as a virus, but it is not.
Open FileZilla.
From the top menu, click the Site Manager icon. The Site Manager window appears.
In the Site Manager window, click New site. A new site appears below My Sites.
Type an appropriate file name for the new site.
Fill in the fields with the following information:
- Protocol:
SFTP - SSH File Transfer Protocol
- Host:
unity.rc.umass.edu
- Logon Type:
Key file
- User: your email but replace the
@
symbol and.
with_
. For example, netid@umass.edu is replaced withnetid_umass_edu
. - Key File:
/PATH/TO/YOUR/KEYFILE
. FileZilla can use either an.rsa
or a.ppk
private key, but theBrowse...
button only shows.ppk
files. To use an.rsa
key, you have to type in the path to the key file by hand.
The information for your new site saves automatically.
- Protocol:
~/.ssh/KEYFILE
, but you can substitute this path.Set up default remote directory in Filezilla
This section is not optional. When you set up FileZilla, the default remote directory will be incorrect. This section will show you how to change the default remote directory to the correct directory. If you still have the Site Manager open, skip to step 4.
Open FileZilla.
From the top menu, click the Site Manager icon. The Site Manager window appears.
Click the site you created in the left panel.
Click the Advanced Tab.
Click into the Default remote directory.
Open Unity. Find the line that starts with
/work/your_pi_group
whereyour_pi_group
is replaced with your PI group’s working directory.Use the command
cd /work/your_pi_group
and ensure that the directory matches with the directory in step 9.Use the command
cd <your_subdirectory>
. If you do not know the name of your subdirectory, contact your PI group for more information. Alternatively, use the commandls your_pi_group
. A list of contents is displayed, find your subdirectory in the list of contents and use the commandcd <your_subdirectory>
.Use the command
pwd
. Your current working directory is displayed.Copy the working directory. In FileZilla, paste the directory into Default remote directory.
To open an explorer on the Unity Filesystem and drag/drop your files across the two panels, click Connect. Once properly connected, FileZilla shows a successful status note, and your two local and remote site panels appear.
In the local directory panel on the left, select the files you want to upload to the remote server. Once you’ve selected the files, drag them from the local directory panel to the remote directory panel. Alternatively, right-click on the selected files and choose Upload from the context menu.
/work/pi_group/your_username
.