- File transfer with scp
For MacOS, Linux, and later Windows users, file transferring between your personal computer and the RSPH HPC supercomputers can be achieved through the command scp
which stands for secure copy. This method is ideal for quick transfer of smaller files.
Just like the cp
copy command, the scp
command requires two arguments, the path to the source file(s) and the path to the target location. Since one or more of these locations are remote, you will need to specify the username and host for those.
scp <username>@<host>:<path_to_files> <username>@<host>:<path_to_files>
For the local location, you do not need to specify the username or host. When transferring to and from your local computer, the scp
command should be run on your computer, NOT from RSPH HPC clusters.
Example, upload a file named ‘data.csv’ from your local computer to the cluster /home directory:
scp ./data.csv jzhan61@clogin01.sph.emory.edu:/home/jzhan61
Download a file named ‘data.csv’ from cluster /home directory to local computer:
scp jzhan61@clogin01.sph.emory.edu:/home/jzhan61/data.csv ./
- File transfer with FileZilla
FileZilla Client is a fast and reliable cross-platform FTP, FTPS and SFTP client with lots of useful features and an intuitive graphical user interface. It is cross-platform and runs on Windows, Linux, *BSD, Mac OS X and more. Download FileZilla from this link.
The FileZilla interface is shown below. After filling in Host (clogin01.sph.emory.edu), Username, Password and Port (22), click on Quickconnect.
After login, you can drag and drop files between your local computer and the cluster.