===== FileZilla ===== [[https://filezilla-project.org/|FileZilla]] is a free and open source FTP client that helps in browsing and transferring files to/from a server. It is available for Mac, Windows and Linux operating systems. In our case, we can use it to transfer data to/from Hábrók nodes. ===== Transferring data using FileZilla ===== - Download and install the [[https://filezilla-project.org/|FileZilla]] client on your local machine. - Once you open FileZilla, on top left corner under File option, select **Site Manager**. This allows you to add hosts so that you can quickly connect to them. {{ :habrok:data_management:clients:filezilla_site_manager.png?direct&600 |}} - Click on **New site** on the bottom. Edit the name and change it something identifiable (eg. ''login1''). {{ :habrok:data_management:clients:filezilla_add_site.png?direct&600 |}} - On the right side of the screen, under **General** tab set the **Protocol** to ''SFTP''. This allows for transferring files over SSH using the FTP protocol, thus making it more secure. - Set the **Host** value to the complete hostname for one of the login nodes (eg. ''login1.hb.hpc.rug.nl'') - Value for **Port** can be left empty as it uses default value SSH port value of ''22''. - Set **Logon Type** as ''Interactive'' from the drop down menu in order to get prompts for password and MFA. - Under **User**, enter your ''s/pNUMBER'' that you will log in as. {{ :habrok:data_management:clients:filezilla_logon_type.png?direct&600 |}} - Under **Transfer Settings** tab, select **Limit number of connections** and set the **Max number of connections** value to ''1''. This allows FileZilla to reuse the connection so you don't have to input your password for each file being transferred. Please note that enabling this will prevent you from browsing remote directory while file transfer is ongoing. {{ :habrok:data_management:clients:filezilla_transfer.png?direct&600 |}} - If required, under Advanced Options tab, you can set default start locations for local and remote machines. Please provide the full path found using the **pwd** command. Environment variables such as ''$HOME'' or ''$TMPDIR'' __do not work__ here. - Click on "Connect" at the bottom of the popup in order to test out the connection. - For the "Unknown host key" popup, select the checkbox that says **Always trust this host, add this key to the cache**. - It should now prompt you to input your account password and authenticator code. - After a successful connection, the files on your local machine are shown on the left while files on the remote machine are listed on the right. You can double click a file in order to download/send it, depending on if the file exists on local or remote. Double clicking on a remote file will download the file to currently visible local folder and vice verse. {{ :habrok:data_management:clients:filezilla_remote_edited.png?direct&600 |}}