Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FILE Receive Location - How to define file mask with 2 extensions

I would like to only get files ending with *.xls OR *.xlsx extension from my Receive Location. How should "File mask" look like?

like image 402
Hooch Avatar asked Nov 24 '25 01:11

Hooch


1 Answers

I have not personally tested that BizTalk only uses the first 3. charaters, but if so, this is probably a dangerous solution, since it might be addressed in future hotfixes.

I would suggest creating two receive locations, one for each filter, and bind them to the same receive port. This is also more future-proof since you can add any number of folders or file types. And that is basically the design idea behind ReceivePorts and -locations.

If you are using orchestrations, these are bound to the Receive Port anyway and you do not need to make any changes for this to work. If this is a messaging only scenario, you just need to make sure that your subscriptions/filters are not based on the name of the receive location and you are fine.

like image 106
Christian Stærk Avatar answered Nov 27 '25 22:11

Christian Stærk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!