On Big Red, how do I transfer files using GridFTP (globus-url-copy)?
On this page:
- Acquiring a proxy
- Transferring files to Big Red
- Transferring files from Big Red
- GridFTP server names to use
- More information
Acquiring a proxy
You must first acquire a Globus certificate. If you
cannot, you can get a proxy using either the
myproxy-logon command (use the NCSA default
Kerberos password you received when you got your
TeraGrid account) or the grid-proxy-init
command (use the default NCSA Globus certificate passphrase).
To see if your proxy is still valid, enter:
jdoe@BigRed:~> grid-proxy-infoThe output should look something like this:
subject : /C=US/O=National Center for Supercomputing Applications . . . issuer : /C=US/O=National Center for Supercomputing Applications/CN= . . . identity : /C=US/O=National Center for Supercomputing Applications/CN=. . . type : Proxy draft (pre-RFC) compliant impersonation proxy strength : 512 bits path : /N/u/ag/BigRed/.globus/userproxy.pem timeleft : 9:55:09If timeleft is greater than zero, your proxy is still
valid.
Transferring files to Big Red
The following example illustrates how to transfer files from the Mercury (NCSA) cluster to Big Red:
jdoe@BigRed:~> globus-url-copy gsiftp://gridftp-hg.ncsa.teragrid.org/home/ncsa/jdoe/foo \ file:/N/u/jdoe/BigRed/copy_of_fooReplace foo with the name of the file you want to
transfer. To check whether the file you copied is now on Big Red,
enter:
You should see something like the following:
-rw-r--r-- 1 jdoe hpc 0 2006-11-08 15:56 copy_of_fooTransferring files from Big Red
The following example illustrates how to transfer files from Big Red to the Mercury (NCSA) cluster:
jdoe@BigRed:~> globus-url-copy file:/N/u/jdoe/BigRed/bar gsiftp://gridftp-hg.ncsa.teragrid.org/home/ncsa/jdoe/copy_of_bar
Replace bar with the name of the file you want to
transfer. To log into the Mercury (NCSA) cluster and check that the
file you transferred is there, enter:
You should see something like the following:
-rw-r--r-- 1 jdoe agg 12747 2004-12-17 09:09 copy_of_barGridFTP server names to use
For a list of all GridFTP server names and ports, see the GridFTP/RFT Server Deployment by Site page.
More information
For more on GridFTP (including how to use globus-url-copy with more
options) and other file transfer options on the TeraGrid, refer to the
Data: How
to Initiate Transfers page.
UberFTP is a command-line application that allows you to use traditional FTP commands against GridFTP servers and grid credentials. For help, see the UberFTP User Documentation.
This document was developed with support from the National Science Foundation (NSF) under Grant No. 0503697 to the University of Chicago and subcontracted to Indiana University. Additional support was provided by IU through its participation in the TeraGrid, which is supported by the NSF under Grants No. 0833618, SCI451237, SCI535258, and SCI504075. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the NSF.
Last modified on July 06, 2009.







