MFT Can Not Dynamically Create Target FTP Folder If Parent Folder Does Not Exist

(Doc ID 2387452.1)

Last updated on APRIL 24, 2018

Applies to:

Oracle Managed File Transfer - Version 12.1.3.0.0 to 12.2.1.1.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

A callout is used in order to dynamically set the output folder.
The callout will use the mft api to dynamically create the output folder.
  2.2.3 Configuring Target-Specific Transfer Settings
The folder can not be created and the transport instance fails.
In the out log we can see the following exception:

Change working directory to /FTP_REMOTE/Parent_Folder02/Child_Folder01 in the server failed.
Please make sure that the directory exists.

 If the parent folder exists than the instance completes successfully.

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