My Oracle Support Banner

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

Last updated on APRIL 04, 2025

Applies to:

PeopleSoft Enterprise HCM Human Resources - Version 9 to 9.1 [Release 9]
PeopleSoft Enterprise PT PeopleTools - Version 8.50 and later
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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.