I would like to only get files ending with *.xls OR *.xlsx extension from my Receive Location. How should "File mask" look like?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With