Previous Topic: dtscli Command—Set Up Hop TransfersNext Topic: dtscli Command—Change Direction


dtscli Command—Send Multiple Output Files (Agent-to-Agent)

The dtscli -agent (or -a) command can be used to send multiple output files using an agent-to-agent transfer. Enter the -agent operand once for each input and output file, separated by a space. You can specify a maximum of 32 output files for a single transfer.

Example: Send the Same Output File to Multiple Computers

If you are creating an agent-to-agent transfer, and you want to send the same output file to two or more computers, you can enter the input path once and the output path as many times as needed to specify the responders:

dtscli -a iuser=username::password ruser=username::password
"ipath=steve::c:\misc\secrets.doc" 
"rpath=margaret::c:\misc\secrets.doc" 
"rpath=katie::c:\misc\secrets.doc" 
"rpath=roshni::c:\misc\secrets.doc"

If any computers in the transfer have their security mode set to "fail," take special care in specifying the required user name and password. Because you may specify only one user ID and password, make sure before sending the transfer that the user ID and password you specify is valid for every receiving computer. Alternatively, make sure that the security mode is quiet or warn for any receiving computer on which the user ID and password combination you specified is not valid. Otherwise, the security features of the DTS agent on the receiving computer cause the transfer to that computer to fail.

Example: Send Multiple Input Files

If you want to send multiple input files using agent-to-agent transfers, use multiple dtscli commands:

dtscli -a "ipath=steve::c:\misc\secrets1.doc" 
"rpath=margaret::c:\misc\secrets1.doc" 
dtscli -a "ipath=steve::c:\misc\secrets2.doc" 
"rpath=margaret::c:\misc\secrets2.doc" 
dtscli -a "ipath=steve::c:\misc\secrets3.doc" 
"rpath=margaret::c:\misc\secrets3.doc" 

More information:

Agent-to-Agent Transfers