cancel
Showing results for 
Search instead for 
Did you mean: 

hadeling multiple files in sender and receiver adapter

Former Member
0 Kudos

Hi ,

In my sender FTP server multiple files gets created at a same time i want to send this same files to the target FTP server am not doing any file content conversion. Just pick this multiple files at a single poll and drop it in the target FTP system.

I gave . in the as file name parameter in the sender file adapter..PI system picks all the files as separate message but if i give . in the receiver adapter itu2019s not creating the file and its giving Java exception..

Is there any other method to do this without having File content conversion... ?

Regards

Shakfie

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can use Adapter Specific Message Properties to create the file (same as sender file name)

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

Regards,

Siva Maranani

Answers (1)

Answers (1)

Former Member
0 Kudos
I gave *.* in the as file name parameter in the sender file adapter..PI system picks all the files as separate message but if i give *.* in the receiver adapter itu2019s not creating the file and its giving Java exception..

For receiver adapter you have to give some file name, '.' will not work for receiver adapter. So give any temporary name just to satisfy the mandatory field. And when you selet the ASMA settings in both SENDER & RECEIVER adapter then your Receiver File adapter will write the same file name which it has picked up and NOT the one which you have written in your receiver adapter.

Note: Set ASMA setting in both else you will not get the same file name at receiver. You can see the same in blog given by Siva. You need not to create any UDF since you are not using any mapping. Just use the ASMA settings.. that's it.

> Is there any other method to do this without having File content conversion... ?

You can go through this blog for the same...

/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository

Regards,

Sarvesh