0 Replies Latest reply on Sep 6, 2009 11:56 PM by oichris

    ftp - listener file truncated

      Hi all,

      I got a strange problem with my ftp-listener. I'm using JBossESB 4.4.

      Here is my configuration for the ftp :

      <ftp-provider name="FTPprovider" hostname="172.19.1.111:22" >
      <ftp-bus busid="nexus_ftp" >
      <ftp-message-filter
      username="userLogin"
      password="userPassword"
      directory="/home/chris/sftp"
      input-suffix=".xml"
      work-suffix=".esbWorking"
      post-delete="false"
      post-suffix=".COMPLETE"
      error-delete="false"
      error-suffix=".HAS_ERROR"
      protocol="sftp"
      passive="false"
      />
      </ftp-bus>
      </ftp-provider>

      It works fine some time but some time the file will be truncated. I have a monitor module to check the incoming file content. The file content say consists of 100 lines, but sometimes only 5x - 7x lines are read, and the files just "appear" to be end like that. I then check the "*.COMPLETE" file to see if there is any problem with the incoming file, but the "*.COMPLETE" file contains the complete file (i.e. 100 lines).

      Does any one who have met this problem? Or am I doing something wrong with the configuration? Thanks a lot for any clues to solve the problem.