Difference between revisions of "Accessing Swestore with globus-url-copy"
(Add link to swestore cert setup page) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Swestore]] | [[Category:Swestore]] | ||
[[Category:Swestore user guide]] | [[Category:Swestore user guide]] | ||
+ | |||
[[Swestore|< Swestore]] | [[Swestore|< 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: | Copying a single file to a local file: | ||
− | globus-url-copy gsiftp:// | + | globus-url-copy gsiftp://gsiftp.swestore.se/snic/myproject/myfile file:///home/myname/myfile |
Copying a single file to a directory: | Copying a single file to a directory: | ||
− | globus-url-copy gsiftp:// | + | 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): | Copying a directory recursively to a local directory (verbose -v): | ||
− | globus-url-copy -v -cd -r gsiftp:// | + | globus-url-copy -v -cd -r gsiftp://gsiftp.swestore.se/snic/myproject/test2/ file:///home/myname/test2/ |
Listing files in a directory: | Listing files in a directory: | ||
− | globus-url-copy -list gsiftp:// | + | globus-url-copy -list gsiftp://gsiftp.swestore.se/snic/myproject/ |
P.S. Please note the trailing slashes for directories. | P.S. Please note the trailing slashes for directories. |
Revision as of 08:57, 17 October 2019
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.