FTP specific JOB parameters are not considered by the :PUT_ATT instruction in IG_FTP jobs
search cancel

FTP specific JOB parameters are not considered by the :PUT_ATT instruction in IG_FTP jobs

book

Article ID: 366932

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

The command ':PUT_ATT prompt_0_eraseSource = "true"' is no longer considered in the new IG_FTP Agent.

In the log of the job in the elder version (RA FTP Agent):

2024-04-16 15:08:10       copied: <SourceFOLDER>/XXXXXXXXXXXXXXXXX.xml \- 27056 bytes sent in 0.04 Seconds 575.65 Kbytes/sec.
2024-04-16 15:08:10 com.automic.agent.ftp.commands.impl.FtpFacadeCommandImpl@5afe83a2 start: completePendingCommand(): no args
2024-04-16 15:08:10 com.automic.agent.ftp.commands.impl.FtpFacadeCommandImpl@4b380bbc start: completePendingCommand(): no args
2024-04-16 15:08:10 com.automic.agent.ftp.commands.impl.FtpFacadeCommandImpl@5afe83a2 start: delete(): arg: <SourceFOLDER>/XXXXXXXXXXXXXXXXX.xml

In log of the IG FTP agent, the 'delete' instruction is missing:

2024-04-16 14:06:13       com.automic.agent.ftp.commands.impl.FtpFacadeCommandImpl@354db59d return: getOutputStream(): java.io.BufferedOutputStream@533f1a9b
2024-04-16 14:06:13  Appending to file <SourceFOLDER>/XXXXXXXXXXXXXXXXX.xml
2024-04-16 14:06:13 com.automic.agent.ftp.commands.impl.CopyCommand@b86bc3c Close Input stream.
2024-04-16 14:06:13 com.automic.agent.ftp.commands.impl.CopyCommand@b86bc3c Close Ouput stream.
2024-04-16 14:06:13 copied:  <SourceFOLDER>/XXXXXXXXXXXXXXXXX.xml \- 2792 bytes sent in 0.06 Seconds 44.31 Kbytes/sec.
2024-04-16 14:06:13 com.automic.agent.ftp.commands.impl.FtpFacadeCommandImpl@3a480b99 start: completePendingCommand(): no args
2024-04-16 14:06:13 com.automic.agent.ftp.commands.impl.FtpFacadeCommandImpl@354db59d start: completePendingCommand(

Another symptom is that the wrong folder data was taken for command execution. This could happen with older jobs that were updated in the past

Environment

IG FTP Agent 21.0.x

Cause

This is a defect of the IG_FTP Agent

Resolution

This bug will corrected in an upcoming version of the IG_FTP Agent 21.1.0 and 24.1.0 planned to be released by mid June 2024.

Additional Information

Bug ID: IG_FTP-55
But Title: SFTP job is picking the wrong folder after changing from the FTP solution to the FTP integration.
Public short description: SFTP jobs take the wrong folder for command

Public Description: A problem was resolved with the FTP agent: In some cases, the wrong folder data was taken for command execution. This could happen with older jobs that were updated in the past. Agent logic was updated to ensure that it always the correct data related to the executed command was always used.