Difference between revisions of "How to Transfer Files"

From Statistics Cluster
Jump to navigation Jump to search
(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...")
 
Line 17: Line 17:
 
== For Windows Users ==
 
== For Windows Users ==
  
For Windows users it may be useful to download the program [http://www.cygwin.com/ 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
+
For Windows users it may be useful to download the program [http://www.cygwin.com/ Cygwin]. This is a Windows version of a terminal that has ssh and scp capability. Using this program scp will look like the following
  
 
*Transferring to the cluster
 
*Transferring to the cluster

Revision as of 16:03, 11 September 2013

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 ssh and scp capability. 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