1 Reply Latest reply on Jan 25, 2012 5:46 PM by Dan Kibler

    FileNotFoundException with FTP provider and composer-class

    Earnest Dyke Novice

      Greetings all,

       

      I have a pipeline that downloads a file from an FTP server and since the file is large, I want to save the file off to disk, in a path and file name of my choosing, and pass just the name of the file as the message payload.

       

      I setup the FTP provider and it is pulling down the file from the FTP server. When I get the my custom composer, it receives the name of the file but the file does not exist. The file name looks like this:

       

      C:\jboss-soa-p-standalone-5\jboss-esb\bin\x12.txt.esbInProcess

       

      The name of the file is x12.txt on the FTP server and I understand that the FTP provider renames the file but when my Composer is executed the file does not exist as the file name provided to the composer.

       

      Anyone else run into this? Any ideas of how to get around it?

       

      Thanks in advance for all relevant responses.

       

      Earnie!