U02002058 Anonymous File Transfer setting incorrectly validated in PREP_PROCESS_FILE
search cancel

U02002058 Anonymous File Transfer setting incorrectly validated in PREP_PROCESS_FILE

book

Article ID: 259862

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

There is a problem with script function PREP_PROCESS_FILE when using the following different settings on UC_HOSTCHAR_* or Agent ini file:

1. You should Have the following values in:

UC_HOSTCHAR_DEFAULT => ANONYMOUS_FT => Y
ini-file WIN agent: LOGON=1
UNIX agent: login_Check=yes
User privilege is set
FileTransfer: Start without Login object specified - ticked

2. Use Agent Windows / Unix 12.3.0 and 12.3.3 or superior and compare the results of executing a script like this:

:SET &HND#=PREP_PROCESS_FILENAME("[email protected]","c:\temp*",,,,,)
:PROCESS &HND#
:SET &LINE#=GET_PROCESS_LINE(&HND#)
:PRINT &LINE#
:ENDPROCESS
:CLOSE_PROCESS &HND#

3. If logon=1 – the script ends ok, but with the error in the activation in the more recent agent (12.3.3+), but works ok on Agent 12.3.0.

This is the error:

U02002058 File transfers without login information are not permitted.

Environment

Release : 12.3.x and 21.x

Component: Automation Engine

Cause

Defect: A bug was fixed where the Anonymous File Transfer setting was incorrectly validated in PREP_PROCESS_FILE, leading to incorrect error messages.

Resolution

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

Fix version:
Component(s): Agent Unix and Agent Windows
Automation.Engine 21.0.5 - Available

Additional Information

Solution Details: A bug was fixed where a disabled Anonymous File Transfer setting was incorrectly validated in PREP_PROCESS_FILE, leading to incorrect error messages from the agent instead of the server, since the server shouldn't have sent the message in the first place.