Skip to Content
0
Former Member
Aug 22, 2011 at 05:33 AM

Posting multiple files and a finish file after posting all the data files.

22 Views

Hello ,

I have a requirement in my project where i have to pick 5 zip files from BW and post them to a ftp location, third party system.

The five zip files will be availbale on PI file directory, so picking them will not be a problem . But the files should be picked on the basis of a finish file.

For eg : when all the five zip files have been written to the PI directory a finish file will be written to indicate that the zip files are ready for transnfer to target system.

On the target system these five zip files should be posted as it is and the finish file should also be posted only after all five files have been successfully posted.

It is File(NFS) to File(FTP) scenario.

Please suggest how this can be achieved. I have tried sending zip files as attachment in sender file adpater and SOAP axis adapter on receiver side , but the files(attachments) are posted in a folder at the target system , which is not correct as the target does not expect files to be in a folder but posted separately.

Please Help .

Thanks in advance.