SRM-REQ-ABORTFILES: BeStMan SRM-Client Tools User's Guide
- srm-req-abortfiles requests to abort files in a request.
Usage
- srm-req-abortfiles <source_url> -requesttoken <token> [command line options]
- srm-req-abortfiles -f <input_file> -serviceurl <service> [command line options]
Options
- Command line options take priority from the options from conf file.
- Options in the following table are in alphabetical order
-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 |
|
-log <path> |
- Specifies path to log file
- Default=./srmclient-event-date-random.log
|
-proxyfile <path> |
|
-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> |
|
-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
|
-usercert <path> |
- Path to user grid certificate
|
-userkey <path> |
- Path to user grid certificate key
|
Notes
- srm client makes no proxy delegation by default, and automatically handles proxy delegation based on the source urls. A user can override the automatic handling by providing an option “-delegation” (or “-delegation true”) to force the delegation, and “-delegation false” to force no delegation. “-debug” option would show how the delegation is done on the output.
Input file format
Source_URL
srm://bestman.lbl.gov:8443/srm/v2/server?SFN=/mydir/mypath/myfile
srm://bestman.lbl.gov:8443/srm/v2/server?SFN=/mydir/mypath/myfile2
Examples
Abort a file in a request
- srm-req-abortfiles srm://host:port/wsept?SFN=/my_file_path -requesttoken <request_token>
- This command requests to abort a file in the request that is specified with the request token. [[/srmclients/samples/srm-req-abortfiles-11.txt][Click here for the sample output.]]
- srm-req-abortfiles srm://bestman.lbl.gov:8443/srm/v2/server?SFN=/srmcache/guest/test.file -requesttoken TOKEN_GET_12345
- srm-req-abortfiles -s srm://bestman.lbl.gov:8443/srm/v2/server?SFN=/srmcache/guest/test.file -requesttoken TOKEN_GET_12345
Troubleshooting
See Also