Accessing Swestore with globus-url-copy

From SNIC Documentation
Jump to: navigation, search


< Swestore

Status

The Globus Toolkit is Retired since 2018.

These instructions are left as a help for those systems where this is the only tool installed.

Preparation

Prerequisite: Valid certificate mapped in Swestore, see XXXXXXX

Usage

Copying a single file to a local file:

globus-url-copy gsiftp://gsiftp.swestore.se/snic/myproject/myfile file:///home/myname/myfile

Copying a single file to a directory:

globus-url-copy gsiftp://gsiftp.swestore.se/snic/myproject/myfile gsiftp://gsiftp.swestore.se/snic/myproject/mydir/

Copying a directory recursively to a local directory (verbose -v):

globus-url-copy -v -cd -r gsiftp://gsiftp.swestore.se/snic/myproject/test2/ file:///home/myname/test2/

Listing files in a directory:

globus-url-copy -list gsiftp://gsiftp.swestore.se/snic/myproject/

P.S. Please note the trailing slashes for directories.