[an error occurred while processing this directive]

srmcp

srmcp — Copy a file from or to an SRM or between two SRMs.

Synopsis

srmcp [option...] <sourceUrl> <destUrl>

Arguments

sourceUrl

The URL of the source file.

destUrl

The URL of the destination file.

Options

gss_expected_name

To enable the user to specify the gss expected name in the DN (Distinguished Name) of the srm server. The default value is host.

Example:

If the CN of host where srm server is running is CN=srm/tam01.fnal.gov, then gss_expected_name should be srm.

[user] $ srmcp --gss_expected_name=srm <sourceUrl> <destinationUrl>

globus_tcp_port_range

To enable the user to specify a range of ports open for tcp connections as a pair of positive integers separated by :, not set by default.

This takes care of compute nodes that are behind firewall.

Example:

globus_tcp_port_range=40000:50000

[user] $ srmcp --globus_tcp_port_range=<minVal>:<maxVal> <sourceUrl> <destinationUrl>

streams_num

To enable the user to specify the number of streams to be used for data transfer. If set to 1, then stream mode is used, otherwise extended block mode is used.

Example:

[user] $ srmcp --streams_num=1 <sourceUrl> <destinationUrl>

server_mode

To enable the user to set the (gridftp) server mode for data transfer. Can be active or passive, passive by default.

This option will have effect only if transfer is performed in a stream mode (see streams_num)

Example:

[user] $ srmcp --streams_num=1 --server_mode=active <sourceUrl> <destinationUrl>

Description