Using the DTSCLI command with securitymode=fail to transfer files from one agent to another using the following command:
dtscli -a ipath="<Path to file>" iuser=<username>::<password> rpath="<TargetServer>::"<Path\filename>" ruser=<username>::<password> output_mode=c "f_filters=:CREATE_PATH" "p_filters=BINARY_READ:BINARY_WRITE AES256_ENCRYPT:AES256_DECRYPT" retry_limit=0 throttle=5
However, the transfer fails with the following error:
CLI0544 Transfer failed: E (390) Security violation: userid or password is not correct. role=Initiator (390).
Transfer state: FAILED
Note: DTSCLI Securitymode configuration policy parameter is present under DSM->Data Transport Service (DTS)->Data Transport Agent Plugin
<Please see attached file for image>
All versions of CA Client Automation
For the DTSCLI command to read files from the source, the 'iuser' account on the source needs read permissions.
Similarly, to write on the target, the 'ruser' account needs write permissions.
For the user account to also be able to connect to the machine to initiate anything, log on locally rights are required.
For more information on the DTSCLI parameters please refer the following link: