To set up password-free file transfers, see Log in without Password. Then there is also no need to specify your cluster username.
For storage mounted directly on the Wynton HPC cluster, files can be transferred to and from the cluster using regular file copying, e.g. cp
and rsync
.
For non-mounted storage, files may be transferred to and from the cluster via secure copying, e.g. scp
and sftp
, which can be utilized via rsync
.
For file downloads from online resources, tools such as curl
, wget
, and rsync
may be used.
Compute nodes have no internet access, i.e. they cannot be used for file transfers other than between mount points. Although file transfers can also be done via the login nodes, we strongly recommended to use one of the dedicated data transfer nodes.
TIPS: Try to use scp -c aes128-gcm@openssh.com ...
to speed up the transfer rates. There can be a fair bit of CPU overhead when SCP encrypts the data before transferring it - this option makes it use a faster encryption cipher.
To copy a single file to your home directory (~/
) on the cluster, use
{local}$ scp one_file.tsv alice@dt1.wynton.ucsf.edu:~/
To copy multiple files to Wynton HPC so they appear directly under ~/study/files/
, use
{local}$ scp *.txt *.R ../some/path/another_file.tsv alice@dt1.wynton.ucsf.edu:study/files/
To copy all content of directory dataset/
to Wynton HPC so that it appears as ~/study/dataset/
, use
{local}$ scp -r dataset/ alice@dt1.wynton.ucsf.edu:study/
To copy a single file in your Wynton HPC home directory to the working directory of your local machine, use
{local}$ cd /path/project
{local}$ scp alice@dt1.wynton.ucsf.edu:one_file.tsv .
Note: Don’t forget that period (.
) at the end - it indicates copy [the file] “to the current directory”.
To copy multiple files from ~/study/files/
on the cluster to ~/study/
on your local machine, do:
{local}$ scp alice@dt1.wynton.ucsf.edu:study/files/*.txt alice@dt1.wynton.ucsf.edu:study/files/*.R ~/study/
To copy all content of directory dataset/
on the cluster so that it appears as dataset/
in your local working directory, use
{local}$ cd /path/project
{local}$ scp -r alice@dt1.wynton.ucsf.edu:dataset/ .
Note: Don’t forget that period (.
) at the end - it indicates copy [the folder] “to the current directory”.
In addition to using command-line file transfer clients, some users might use graphical desktop clients to perform file transfers.
Wynton requires multifactor authentication so there are a couple additional configuration steps that might be necessary.
When using Cyberduck, from the menu:
Preferences -> Transfers -> General
When using FileZilla, do: