cancel
Showing results for 
Search instead for 
Did you mean: 

Excluding multiple files using Exclusion Mask in File Sender Adapter

former_member201987
Participant
0 Kudos

Hello Experts,

I have a file to file scenario with one source directory with files with multiple extensions. Requirement is to exclude files with certain extensions and pickup the remaining files.

Examples of files in source folder-

File1.pick.abc

File1.pick.xyz

File1.pick.efg

File2.pick.abc

File2.pick.xyz

File2.pick.efg

File1.pick

File2.pick

My channel should only pick up files - File1.pick and File2.pick. Please guide on how to specify the exclusion criteria in the channel.

I have referred many discussions on SCN including below link but could not succeed.

http://scn.sap.com/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-...

Thanks in Advance,

Suraj

Accepted Solutions (1)

Accepted Solutions (1)

former_member201987
Participant
0 Kudos

The problem is resolved. I was using "," to separate the multiple exclusions. I had to use ";".

Thanks for the responses.

Answers (3)

Answers (3)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Use this format ...  File*.pick

ambrish_mishra
Active Contributor
0 Kudos

Hi Suraj,

Try with the exclusion mask *.pick.*

Ambrish

Former Member
0 Kudos

Hello,

Why don't u use this kind of file name format to pick files: *.pick ?

Thanks

Amit Srivastava