Java CAPS 6.2 Batch SCP Client put() from a local file to an external does not properly handle Directory Names that contain spaces.
Last updated on NOVEMBER 02, 2016
Applies to:Oracle Java CAPS Enterprise Service Bus - Version: R6.2
Information in this document applies to any platform.
An exception will be thrown, of this form:
com.stc.codegen.framework.runtime.RequestException: 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.
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