My Oracle Support Banner

Java CAPS 6.2 Batch SCP Client put() from a local file to an external does not properly handle Directory Names that contain spaces. (Doc ID 1354119.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version: R6.2 and later   [Release: 6.0 and later ]
Information in this document applies to any platform.


The SCP eWay's SCPClient put() method fails to copy a local file to an external file-system where the path in the external file-system includes spaces.

An exception will be thrown, of this form: Batch SCP eWay error when doing data transfer operation in [put()], message=[BATCH-MSG-M0732: Exception when put(localFile, remotePath), remotePath=/Path/My\ Data/DataOut.txt local file=DataIn.txt, e=com.maverick.ssh.SshException: Failed to execute the command scp -t /Path/My/ Data/DataOut.txt [Unknown cause]].

Note: that the backslash escaping the following space in the original external path has been replaced with a forward slash.


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

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