cancel
Showing results for 
Search instead for 
Did you mean: 

how to pick two files with different extension via single communicaton channel

0 Kudos

Hello

Scenario is FTPS ----> PI ----->SFTP.

ESR is bypassed.( just need to pick and place the file ).

I Need to pick a file ( .xml ) along with  abc.txt from a same directory via single sender communication cannel.

Can it be possible to pick two files with different extensions via same communication channel.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Mohit,

It depends on what you want to achieve.

1. One message for each file - Checking Advanced Selection for Source File will allow you to just use one sender cc for different files in different directories as long as they are on the SAME file system. It will create a separate message for each file.

2. One message for the two files - refer to 's reply.

Regards,

Mark

Harish
Active Contributor
0 Kudos

Hi Mohit,

you can pick different extension file from same sender FTP communication channel if there name are similar or the directory is used only for this two types of file.

If both the file has name abc.xml and abc.txt then you can specify the file name in communication channel as abc*.

If the directory only used for this two files then put * in sender file name.

regards,

Harish

0 Kudos

Thanks for the reply !!!

But the file names are different. Like one will always be abc.txt and other .xml will be of different name.

Also one more file will be there but its name will be like ( abc.txt31102014) but we should not pick this.

Is it possible if we mention in file name: *.xml and in advanced selection tab we put abc.txt in file name mask ?

nabendu_sen
Active Contributor
0 Kudos

Hi Mohit,

Additional Files always enter PI as attachments. So if you are planning that Single Sender File Adapter will create separate messages for '.xml' and 'abc.txt', that would not happen if both of them are present at same polling time. It would be a single message with attachment.

Again if you have to apply extra configurations to write them as separate files.

Specifying Additional Files in the Sender File Adapter - Advanced Adapter Engine - SAP Library

"Use In the sender file adapter, you can specify additional files to be included in the XI message as attachments. The receiver of such messages must be able to process them. Additional files are transported unchanged without conversion options."

Regards,

Nabendu.