SFTP job is copying the files into the wrong folder.
search cancel

SFTP job is copying the files into the wrong folder.

book

Article ID: 367952

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

An SFTP job is copying the files into a folder not specified in the "To" settings of the FTP job.

Copying from Local File System to CONN.SFTP.SERVER.NAME.01
copy C:\automic\Agents\_WS21\IG.FTP\ra_log_00.TXT to /path/to/the/wrong/folder/filename.txt
com.automic.agent.ftp.commands.impl.FtpFacadeCommandImpl@55c54fae start: getInputStream(): file: /path/to/the/wrong/folder/filename.txt, skip:-1
Caused by: java.io.FileNotFoundException: /path/to/the/wrong/folder/filename.txt (The system cannot find the path specified)

Instead of:

Copying from Local File System to CONN.SFTP.SERVER.NAME.01
copy C:\automic\Agents\_WS21\IG.FTP\temp\ra_log_00.TXT to /opt/files/ra_log_00.TXT
copied: C:\automic\Agents\_WS21\IG.FTP\temp\ra_log_00.TXT  - 22392 bytes sent in 0.06 Seconds 361.16 Kbytes/sec.
SFTPHelperDelegate: disconnect channel.

Environment

Component: Integration FTP 21.0.X

Cause

Defect.

Resolution

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

Article title: How to register to Broadcom Software Product updates and Critical Alerts

https://knowledge.broadcom.com/external/article?articleId=133819

Component: Integration FTP

Integration FTP 21.1.0 - Available

Integration FTP 24.0.0 - Available

Public short description EN:
Jobs of SFTP job take the wrong folder for command

Public description EN:
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.