500 User Exit denies Userid '<USER>' from using Command 'CWD'.

Document ID : KB000087200
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
com.uc4.ftpjob.DataTransferException: 500 User Exit denies Userid '' from using Command 'CWD'.

When running an RTP FTP Job against a z/OS server, the job may fail when attempting to change directories.

The output file shows the error is thrown after job executes a 'change directory (cd)' command.

****************************************** Start of job log ******************************************
host name = 12.23.34.45, remote user identification  = <USER>
Setting Remote Server Verification Off.
connecting on port : 21
Executing command: cd <DIRECTORY> on <HOST>
ErrorMsg: Internal Error: 1  (11/11/17 11:11 AM)
Details:
com.uc4.ftpjob.DataTransferException: 500 User Exit denies Userid '<USER>' from using Command 'CWD'.

    at com.uc4.ftpjob.commands.FtpCommandImpl.runCmd(FtpCommandImpl.java:197)
    at com.uc4.ftpjob.commands.FtpCommandImpl.cd(FtpCommandImpl.java:272)
    at com.uc4.ftpjob.commands.FtpFacadeCommandImpl.cd(FtpFacadeCommandImpl.java:308)
    at com.uc4.ftpjob.commands.impl.FreeFormFTPCommand.execute1(FreeFormFTPCommand.java:166)
    at com.uc4.ftpjob.commands.impl.FreeFormFTPCommand.execute(FreeFormFTPCommand.java:40)
    at com.uc4.ftpjob.commands.CommandProcessor.execCommand(CommandProcessor.java:321)
    at com.uc4.ftpjob.commands.CommandProcessor.processCommands(CommandProcessor.java:164)
    at com.uc4.ftpjob.commands.CommandProcessor$processCommands.call(Unknown Source)
Environment:
OS: Z/OS
OS Version: N/A
Cause:
Cause type:
Configuration
Root Cause: A possible remote server setting for file transfers and/or user requires the RA FTP Connection Object to enable the 'Force active mode' option to successfully change directories.
Resolution:
In the RA FTP Connection Object, enable the 'Force active mode' option.

Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
N/A