SDM
People Publications Projects

SRM-LS: BeStMan SRM-Client Tools User's Guide

Usage

Options

-authid <string>
  • Authorization ID to be used in SRM for the request
-conf <path>
  • Path to the configuration file.
  • Command line options will override the options from conf file
-connectiontimeout <int>
  • enforces http connection timeout in the given seconds.
  • Default=1800
-count <int>
  • Specifies count for LS in case there are too many listing
  • Default=0
-debug
  • Specifies debugging output
  • Default=false
-delegation <true¶false>
  • Force proxy delegation.
  • When not provided, srm-ls automatically handles proxy delegation based on the source URLs.
  • When –delegation is provided, it forces the user choice.
-f <path>
  • Path to the xml input file containing the source url, target url information for requests with more than one file
  • Refer to the format and examples below
-filestoragetype <p ¶ d ¶ v>
  • Indicates filestorage type
  • p - Permanent, d - Durable, v - Volatile
  • No default
-fulldetailed
  • Specify to request detailed information on the source url
  • Default=false
-help
  • Show the help message
-log <path>
  • Specifies path to log file
  • Default=./srmclient-event-date-random.log
-numlevels <int>
  • Specifies the number of levels of recursiveness in LS
  • Default=1
-offset <int>
  • Specifies offset for LS in case there are too many listing
  • Default=0
-proxyfile <path>
  • Path to user grid proxy
-quiet
  • Suppress output in the console.
  • This option writes the output to the log file.
  • Default=false
-recursive
  • Specifies recursive listing with -ls option
  • Default=false
-renewproxy
  • Enables automatic proxy renewal upon expiration
  • Works only when -usercert and -userkey are provided
  • Prompts for the pass phrase
  • Default=false
-report <path>
  • Specifies path to full report output.
-s <source_url>
  • Source URL
-serviceurl <endpoint>
  • Full web service endpoint
  • Required when source url or target url does not contain web service endpoint information
-sethttptimeout <int>
  • set client-side http connection timeout in the given seconds.
  • Default=600
-statusmaxtime <int>
  • Max time before status checks get timed out, in seconds
  • Default=600
-statuswaittime <int>
  • Wait time delay between status check, in seconds
  • Default=30
-storageinfo <string>
  • extra storage access information
  • For BeStMan supporting MSS, a formatted input separated by comma is used with following keywords when necessary: for:<source¶target¶sourcetarget>,login:<string>,passwd:<string>,projectid:<string>,readpasswd:<string>,writepasswd<string>
-submitonly
  • Enables request submission only
  • When provided, srm-ls exits after the request submission. Otherwise, it continues checking status until it is timed out or gets return status.
  • Default=false
-usercert <path>
  • Path to user grid certificate
-userkey <path>
  • Path to user grid certificate key
-xmlreport <path>
  • Specifies path to short output report in XML format.

Notes

Input file format



  
   Source_URL
  



  
    srm://bestman.lbl.gov:8443/srm/v2/server?SFN=/mydir/mypath/myfile
  

Examples

Browse a file in SRM server

Browsing a directory in SRM server

Browsing a file in gridftp server

Browsing a directory in gridftp server

Browsing a local file

Browsing a local directory

Troubleshooting

See Also