1 Reply Latest reply: Jan 24, 2013 12:15 PM by Arik RSS

    FTP Put fails when there is no pre-existing file present in the directory

    Balaji Radhakrishnan
      Hi All,
      In our process we use the FTP adapter to write a file to a location. This operation fails when there is no preexisting file on the output directory.
      So we placed a zero byte file on the directory and tested and the adapter was able to create the output file but when the files were deleted from the output directory the file transfer failed again.

      We got the below error
      Non Recoverable System Fault :
      Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Invalid Output Directory. Invalid Output Directory. The value specified for the output (Physical/Logical)Directory interaction parameter or jca binding property has an invalid value "XXXXXXXXXXXXXXX" Ensure that the following conditions are satisfied for the output directory : 1) It exists and is a directory (not a file). and 2) It is writable (file write permissions). and 3) If using a logical name, then ensure that the mapping from logical name<->physical directory is correctly specified in the deployment descriptor. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.

      Kindly help us resolve the issue.
      Thanks in advance.

      Regards,
      Balaji R