Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

On Big Red, how do I transfer files using GridFTP (globus-url-copy)?

On this page:


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-info

The 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:09

If 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_foo

Replace foo with the name of the file you want to transfer. To check whether the file you copied is now on Big Red, enter:

jdoe@BigRed:~> ls -l ~/copy_of_foo

You should see something like the following:

-rw-r--r-- 1 jdoe hpc 0 2006-11-08 15:56 copy_of_foo

Transferring 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:

jdoe@BigRed:~> gsissh login-hg.ncsa.teragrid.org tg-login1 ncsa/jdoe> ls -l ~/copy_of_bar

You should see something like the following:

-rw-r--r-- 1 jdoe agg 12747 2004-12-17 09:09 copy_of_bar

GridFTP 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.

This is document avnn in domains all and tgrid-all.
Last modified on July 06, 2009.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.