5 Replies Latest reply on Jul 28, 2014 10:15 PM by teachMySelf

    FTP adapter : file size

    Saatvika

      Hi,

       

      I have a requirement to move file (unread) from remote server to local and capture the file size for logging purpose. I have modified my jca file to use FTPIoInteractionSpec and FTP working fine.

      To get the file size, I tried using jca.ftp.size property but it returns null as response.  Can you please suggest if there is any other way to get file size without reading the file?

       

                  <bpelx:fromProperties>

                      <bpelx:fromProperty name="jca.ftp.Size" variable="size"/>

                  </bpelx:fromProperties>

       

      Thanks in advance!