How to Stop the java Batch eWay from Changing Directory before Performing a Directory Listing?

(Doc ID 1028706.1)

Last updated on SEPTEMBER 30, 2011

Applies to:

Sun e*Gate - Version: 4.1.2 and later   [Release: 4.1 and later ]
Information in this document applies to any platform.
Sun SeeBeyond e*Gate - Version: 4.5.3 and later.
Checked for relevance on 30-September-2011.


FTP Heuristic has the following setting:

Change Directory Before Listing=No

The eWay still tries to change directory when performing a get(). The FTP server does not permit directory changes using CWD, and so this fails eg:

14:29:35.104 EWYV T 7 (java_extensions.cxx:1442): FtpFileProviderImpl.listFileNames(): remoteDir is [/home/$ABC], remoteFileRegExp is [.*\.txt$].
14:29:35.173 EWYV T 7 (java_extensions.cxx:1442): FtpFileProviderImpl.sendCommand(): Reply from command [PWD] is [257 "/home/$ABC" is current directory.].
14:29:35.173 EWYV T 7 (java_extensions.cxx:1442): FtpHeuristics.buildFullFileName() ...
14:29:35.174 EWYV T 7 (java_extensions.cxx:1442): FtpHeuristics.buildFullFileName(): Got full file name [/home/$ABC].
14:29:35.280 EWYV T 7 (java_extensions.cxx:1442): FtpFileProviderImpl.sendCommand(): Reply from command [CWD] is [550 Request rejected.].


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