I have built an SOA composite application to FTP files from destination A to B.
I now need to archive the files in an 'Archive' directory on the remote server I am retrieving the files from (destination A).
I have got this to workin using the JCA property:
<property name="UseRemoteArchive" value="true"/>
The only problem is that the filename does not stay as it was, and the file that ends up in the 'Archive' directory, and is now proceeded by a long string and date.
i.e the original file looks like: File_test.zip
File in Archive: File_test.zip_MjtpGjgGRkfe5j6NVBQgORwsHRa628nysAIMbTeIYqo=_20120423_163128_0485
Is there anyway to control the name of the file being archived?
Any input appreciated.
There isn't much customization possible on the archive file naming. However, I've put my knowledge in this post. See if it helps.