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.
Release : 12.3.x and 21.x
Component: Automation Engine
Defect: A bug was fixed where the Anonymous File Transfer setting was incorrectly validated in PREP_PROCESS_FILE, leading to incorrect error messages.
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
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.