FTP: The GetAttachment function fails in the Application Engine program PSTL_LD_JPN
Last updated on JANUARY 11, 2017
Applies to:PeopleSoft Enterprise PT PeopleTools - Version 8.50 and later
PeopleSoft Enterprise HRMS Human Resources - Version 9 to 9.1 [Release 9]
Information in this document applies to any platform.
Before the tools upgrade, same piece of code was running fine. Application Engine program PSTL_LD_JPN is giving the error that Input file not found (even though file has been present).
Below is the piece of problematic peoplecode:
&attach = GetAttachment(&My_Url, &name, "files/" | &name, "PS_SERVDIR");
This error is specific to one HR component (Navigation: Set Up HRMS > Install > Product and Country Specific > Load Postal Codes JPN). The PeopleTols test Utilities test runs to success.
The following error can be seen in the PeopleCode trace file:
325 11.44.43 0.000050 PSCurlFileTransferSession: Download : Target Location - PS_HOME/appserv/files/TEST.csv.
326 11.44.43 0.000060 PSCurlFileTransferSession: Download : Properties set.
327 11.44.43 0.056124 PSCurlFileTransferSession: Download : File Transfer Failed : FTP library Error code : 9 - Access denied to remote resource
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms