Skip to main content »

Trinity College Dublin

File Transfer

Your data is stored remotely on the clusters on our high-performance filesystem. You can see your files when you log in via ssh/Putty.

However, to copy the files to and from your desktop, you must use sftp/scp/FileZilla to transfer the files.

Transferring to/from a Windows Desktop using FileZilla

In Windows, there is no built-in client for sftp/file transfer. Thus we recommend using FileZilla, which offers an easy graphical interface for copying files to and from your desktop.

  • First, download filezilla and install it on your desktop.
  • Next, connect using your username and password to one of the login nodes on the clusters, for example:
lonsdale.tchpc.tcd.ie

Note that you must specify 22 as the port number, to use secure FTP.

Then you can browse the local and remote folders, and copy files between them.

Transferring to/from a Linux Desktop using sftp

Most Linux distributions come with sftp installed by default. If not, you need to install it.

Then, connect to the cluster on the command-line:

[jbloggs@mydesktop ~]$ sftp lonsdale.tchpc.tcd.ie

The first time you connect, you will be asked to accept the key fingerprint of the server.

[jbloggs@mydesktop ~]$ sftp lonsdale.tchpc.tcd.ie
Connecting to iitac02.tchpc.tcd.ie...
The authenticity of host 'iitac02.tchpc.tcd.ie (134.226.114.114)' can't be established.
RSA key fingerprint is cb:30:ab:a2:a5:5e:c4:63:ed:55:d0:e1:be:e4:5c:d6.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'lonsdale.tchpc.tcd.ie' (RSA) to the list of known hosts.
sftp>

To view the remote files:

sftp> ls
MTA                 README_FIRST_CLUSTER_EXAMPLES          a.out
cpi.x               db.mgmt                                fluent
foo.c               foo.sh                                 foo.txt
h2o                 ipmitest                               job.sh
sftp>

To view local files:

sftp> !ls
code                docs               files               git
src                 stuff              test.txt
sftp>

To upload files:

sftp> put test.txt
Uploading test.txt to /home/trhpc/jbloggs/test.txt
test.txt                                               100% 3012     2.9KB/s   00:00
sftp>

To download files:

sftp> get test.txt
Fetching /home/trhpc/jbloggs/test.txt to test.txt
/home/trhpc/jbloggs/test.txt                           100% 3012     2.9KB/s   00:00     
sftp>

Please refer to the man page for more options.

Transferring to/from a Linux Desktop using scp

Most Linux distributions come with scp installed by default. If not, you need to install it.

This command is similar to the standard cp command, but with added syntax for specifying local->remote or remote->local copying.

To copy test.txt from the current directory on your local desktop to your home directory on the cluster:

[jbloggs@mydesktop ~]$ scp test.txt jbloggs@lonsdale.tchpc.tcd.ie:test.txt

To copy test.txt from your home directory on your local desktop to the current directory on the cluster:

[jbloggs@mydesktop ~]$ scp jbloggs@lonsdale.tchpc.tcd.ie:test.txt test.txt

Please refer to the man page for more options.


Last updated 08 Dec 2011Contact TCHPC: info | support.