Content-type: text/html Manpage of SRMCP

SRMCP

Section: User Commands (1)
Updated: May 2005
Index Return to Main Contents
 

NAME

srmcp - manual page for srmcp v1_6  

SYNOPSIS

srmcp [OPTION]... SOURCE DEST
srmcp [OPTION]... SOURCE... DIRECTORY
srmcp [OPTION]... -copyjobfile <file>...  

DESCRIPTION

Copy SOURCE to DEST, or Multiple SOURCE(s) to DIRECTORY.

Either source(s) or destination or both should be (an) srm url default options will be read from configuration file but can be overridden by the command line options the command line options are one or more of the following:

--version, -version
enables printing version number
--debug, -debug
enables debug output, default is false
-srmcphome=<path to srmcp product dir>
-gsissl=<true or false>
true uses gsi https, default is false
-mapfile=<mapfile>
to specify glue mapfile
-wsdl_url=<full url to web service wsdl>
this options overrides -webservice_path and -webservice_protocol options
-webservice_path=<webservice_path>
to specify web service path component of web service URL (for example "srm/managerv1.wsdl")
-webservice_protocol=<webservice_protocol>
to specify the webservice protocol ( for example "http","https" or "httpg")
-use_proxy=<true or false>
true if srmcp should use grid proxy false if it should use certificate and key directly, defult value is true
-x509_user_proxy=<path to user grid proxy>
-x509_user_cert=<path to user grid certificate>
-x509_user_key=<path to user private key>
-x509_user_trusted_certificates=<path to the directory with cerificates of trusted Certificate Authorities (CAs)>
-conf=<path to the configuration file> default value is config.xml
-save_conf=<path to the file in which the new configuration will be saved>
no transfer will be performed if this option is specified
-retry_timeout=<number of miliseconds to sleep after a failure before the client tries to retry>
-retry_num=<number of retries before client gives up>
-connect_to_wsdl=<true or false, false by default>
srm client now connects directly to the service without reading the wsdl first but for the compatibility with the old implementation, especially if srm urls available point to the location of the wsdl, we make the old way of connecting to the wsdl location first available
-delegate=<true or false, true by default>
enables or disables the delegation of the user credenital to the server
-full_delegation=<true or false, true by default>
if delegation is enabled, it specifies the type of delegation if this option is set to true the delegation is full, otherwise limited
-h or -help for this help
-urlcopy=<urlcopy path>
to specify the path to universal url_copy script see $SRM_PATH/bin/url-copy.sh for example
-buffer_size=<integer> to set the buffer size to a value

      different then default(2048)
-tcp_buffer_size=<integer>
to set the tcp buffer size to a value if option is not specified or set to 0, then the default tcp buffer size is used
-streams_num=<integer> to set the number of streams used by gridftp
-protocols=protocol1[,protocol2[...]]
the comma separated list of supported TURL protocols
-pushmode=<true or false>
true to use the push mode in case of srm Mass Storage Systems (MSS) to MSS copy, false to use the pull mode, the default mode is pull mode (false)
-use_urlcopy_script=<true or false>
use java native copiers of use urcopy script
-copyjobfile=<file>
where <file> is the path to the text file containing the list of sources and destination each line has a format : <sorce-url> <destination-url>
-report=<report_file>
where <report_file> is the path to the report file if specified, it will contain the resutls of the execution srmcp the each line in the file will have the following format:


       <src url> <dst url> <return code> [<error>]


      the following return codes are supported:
      0 - success
      1 - general error
      2 - file exists, can not overwrite
      3 - user permission error

Example of srm put:
      srmcp file:////bin/sh srm://myhost.mydomain.edu:8443//dir1/dir2/sh-copy

Example of srm get:
      srmcp srm://myhost.mydomain.edu:8443//dir1/dir2/sh-copy file:///localdir/sh Example of srm copy (srm to srm):
      srmcp srm://myhost.mydomain.edu:8443//dir1/dir2/sh-copy srm://anotherhost.org:8443/newdir/sh-copy

Example of srm copy (gsiftp to srm):
      srmcp gsiftp://ftphost.org//path/file srm://myhost.mydomain.edu:8443//dir1/dir2/file  

AUTHOR

Written by Timur Perelmutov  

REPORTING BUGS

Report bugs to <timur@fnal.gov>  

COPYRIGHT

Storage Resource Manager (SRM) CP Client version 1.16 Copyright (c) 2002-2005 Fermi National Accelerator Laborarory


 

Index

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
REPORTING BUGS
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 23:53:58 GMT, May 27, 2005