on 03-25-2013 8:10 PM
Dear Experts,
I need to read a file with file name say "ABC XYZ.txt" (there's a space between ABC and XYZ) with PI 7.31 sender file (FTP) adapter. I tackled it by specifying it as ABC?XYZ.txt. But, wondering if there's any better alternate option since this would pick up even say "ABC_XYZ.txt", which is a different file altogether. Any suggestions?
Thanks
Using Regular expression to fix this issue. This is one approach. Also why don't you recommend sender system to trim that space in the middle. You might want to check this link
http://stackoverflow.com/questions/5531079/regex-check-for-white-space-in-middle-of-string
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have handled it in right way, if only one file going to avaible on Folder then you could tru ABC*.txt like that or you could try with some other patterns.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.