on 10-01-2013 1:27 PM
Hi.
I want to pick all files in a specific directory on the SFTP server except the *.tmp files.
We are using the SFTP adapter on a PI 7.3 system.
How would I do this? There are no exclusion mask as in the file adapter.
Best Regards
Kalle
Got the following expression to work.
^.*\.(?!tmp$)[^.]+$
Thanks for input.
PS. Adarsh ofcourse I tried google. DS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalle,
Can you try giving *.[^t][^m][^p] in your file adapter . Kindly let me know the result once you tried.
Thanks,
Swetha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check out the below thread:
http://scn.sap.com/message/13878401
The regex pattern Negative Lookahead may help you. You can also google it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please use regular expressions to create the filename in case of SFTP adapter.
http://en.wikipedia.org/wiki/Regular_expression
Thanks,
Sudhansu
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.