How to Transfer Files

From Statistics Cluster
Revision as of 17:20, 23 July 2013 by Barnes (talk | contribs) (Created page with "== How to Transfer Files == A safe way to transfer files to and from the cluster to a personal computer is to use the [http://linux.die.net/man/1/scp scp] (Secure Copy) comma...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to Transfer Files

A safe way to transfer files to and from the cluster to a personal computer is to use the scp (Secure Copy) command.

The basic form of scp is

  • Transferring to the cluster
scp /path/to/local/file.txt username@stats.phys.uconn.edu:/path/to/new/remote/location/
  • Transferring from the cluster
scp username@stats.phys.uconn.edu:/path/to/remote/file.txt /path/to/new/local/location/

For Windows Users

For Windows users it may be useful to download the program Cygwin. This is a Windows version of a terminal that has the capability to ssh and scp. Using this program scp will look like the following

  • Transferring to the cluster
scp /cygdrive/c/Users/<username>/My\ Documents/path/to/file.txt username@stats.phys.uconn.edu:/path/to/remote/location
  • Transferring from the cluster
scp username@stats.phys.uconn.edu:/path/to/remote/file.txt /cygdrive/c/User/<username>/My\ Documents/path/to/local/location