File transfers using an RA FTP job in version 3.1.5 fail if transferring to a Host with the same name

book

Article ID: 87968

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
"Caused by: com.uc4.ftpjob.DataTransferException: The fromConnection must be different from the toConnection. Please correct the copy command."

In the RA FTP Solution version 3.1.0 it is possible to copy a file to and from the same Host using the same Host Connection object.  However, in version 3.1.5 this is no longer possible and if the file transfer is attempted the job fails and a "DataTransferException" error is displayed as shown above.

 

Cause

Cause type:
Defect
Root Cause: RA FTP agent cannot copy files within the same host.

Environment

OS Version: N/A

Resolution

Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
RA.FTP 4.0.2 - Available

Additional Information

Workaround :
1) Create a duplicate of the same FTPConnection object with a different name and use it in FTP job as Host B or HostA 2) Make sure to update the FTP steps to reflect the new connection object you're using