Data Transfer

On HPC systems, we can interact with the command line over SSH. We can also create and move file and directories. We can run a program and get some output. But the question is how can we

  • Upload files, say our datasets, to the HPC machine?
  • Download files, say the results of our analysis, from the HPC machine for further analysis locally?

There are two popular methods to do these:

  • FTP = File Transfer Protocol; and
  • SCP = Secure Copy

FTP file transfer

You need an FTP client, such as FileZilla. You tell the client which server to connect to e.g,: hpc.yourinstitution.edu and port: 22. You then authenticate with your username and password. Note that All FTP communication to the HPC machine will be 100% secure.

Secure Copy (scp command)

The secure Copy (scp) command is another way to transfer files to and from the HPC machine. Like FTP, it is secure, but you will need to invoke it from the command line. Therefore SCP is non-interactive, but the good news is- it can easily be scripted.

Get hands-on with 1200+ tech skills courses.