Globus Connect Information & Tutorials

Globus Server Sample Commands

Once GridFTP or the Globus Connect Server have been installed on the server the following are sample commands which can be used as a template in command-line to transfer files to and from the server.

#make sure you can connect to server
globus-url-copy -list

# copy 1G file
globus-url-copy -vb -fast file:///tmp/test.out

# copy 1G file using 4 parallel streams
globus-url-copy -vb -fast -p 4 file:///tmp/test.out

# write to /dev/null
globus-url-copy -vb -fast -p 4 file:///dev/null

# read from /dev/zero
globus-url-copy -vb -fast -p 4 -len 1G file:///tmp/t.out

# Option to use UDT instead of TCP
globus-url-copy -vb -udt file:///dev/null

# Copy using one stream only to test single-stream disk-to-disk performance
globus-url-copy -vb -p 1 -fast -r\ file:///some/path/5GB-in-small-files/
globus-url-copy -vb -p 1 -fast -r\ file:///some/path/50GB-in-medium-files/#

# Copy using 4 parallel streams
globus-url-copy -vb -p 4 -fast -r\  file:///some/path/5GB-in-small-files/
globus-url-copy -vb -p 4 -fast -r\  file:///some/path/50GB-in-medium-files/

# Copy the big data set using 8 parallel streams (make sure your performance is good before doing this one!)
globus-url-copy -vb -p 8 -fast -r\  file:///some/path/500GB-in-large-files/