FTP: The GetAttachment function fails in the Application Engine program PSTL_LD_JPN (Doc ID 1456759.1)

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.

Symptoms

ENVIRONMENT
---------------
PeopleTools 8.51.15

ISSUE STATEMENT
---------------
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.

ERROR
---------------
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

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms