Skip to Content
Apr 29, 2009 at 07:07 PM

Change FileName File/FTP Adapter


Hi all,

I have a simple scenario File-To-File there is no mapping,so i've created it directly on Integration Directory, like this :

I've have a requirement to change the file name to be saved by Receiver in accordance with a complex logic.

I know that the FileName variable can be manipulated like this: /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

But in my scenario I have no mapping, so I'm thinking about to implement a Module to change the FileName to be saved.

Does anybody suggest another way? Or implement a module is the best solution for this case?

I'm using PI 7.1

Best regards