Difference between revisions of "Accessing Swestore with globus-url-copy"

From SNIC Documentation
Jump to: navigation, search
(Add link to swestore cert setup page)
Line 12: Line 12:
 
= Preparation =
 
= Preparation =
  
Prerequisite: Valid certificate mapped in Swestore, see XXXXXXX
+
Prerequisite: Valid certificate mapped in Swestore, see [[Certificate Setup for Swestore]]
  
 
= Usage =
 
= Usage =

Revision as of 08:57, 17 October 2019


< 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 Certificate Setup for Swestore

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.