How to avoid Batch Ftp Exception BATCH-MSG-M0126: caused by the root Directory not being accessible

(Doc ID 1347430.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6 and later
Information in this document applies to any platform.
***Checked for relevance on 06-Nov-2015 ***


When transferring a file to an FTP server using the Batch FTP Adapter, the error below occurs when only the target directory for the transfer is accessible but not the root directory:

FtpFileProviderImpl.sendCommand(): Reply from command [CWD] is [550 /Interface: Access is denied.] BATCH-MSG-M0126: FtpFileClientImpl.doTransferPut(): Failed to create destination directory [/Interface/outbound/egate/Tetris].

Another manifestation of this problem could be: BATCH-MSG-M0225: FtpFileProviderImpl.mkdir(): Failed to change back working directory. The directory name is [/].

How can this be avoided?


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