SDM
People Publications Projects

SRM-EXTENDFILELIFETIME: 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
-debug
  • Specifies debugging output
  • Default=false
-delegation <true¶false>
  • Force proxy delegation.
  • When not provided, srm client makes no delegation by default and automatically handles proxy delegation based on the source URLs.
  • When -delegation is provided, it overrides the automatic handling and 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
-help
  • Show the help message
-lifetime <int>
  • File (SURL) lifetime in seconds
-log <path>
  • Specifies path to log file
  • Default=./srmclient-event-date-random.log
-pinlifetime <int>
  • Pin lifetime in seconds to extend.
  • -requesttoken must be specified.
-proxyfile <path>
  • Path to user grid proxy
-quiet
  • Suppress output in the console.
  • This option writes the output to the log file.
  • Default=false
-requesttoken <request_token>
  • Specifies a request token
-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
-spacetoken <string>
  • Specifies space token
  • Enables extension of files lifetime in the space that is associated with the space token.
-usercert <path>
  • Path to user grid certificate
-userkey <path>
  • Path to user grid certificate key

Notes

Input file format



  
    Source_URL
  



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

Examples

Extend file (SURL) lifetime

Extend pin lifetime of a file in a request

Extend file lifetime in a space

Troubleshooting

See Also