on 03-17-2015 5:19 AM
Hi All,
Scenario: File to file.
I need to set target file as read only when PI places file in to target folder.
Regards,
Mani
Hi Mani,
In receiver PI channel, under the processing tab-> there is an option to "Run OS command After message processing".
Once the PI channel completes writing file to target directory then OS Command written here will be executed.
You can use this option to change the permission to ready only by using the below script for unix OS.
chmod 444 %F
Hope this helps.
Regards
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manikandan,
Just to add few more cents to Ram's reply.
you can create a batch file(windows system) or shell script(linux system) and call that from the "Run OS command After message processing" option.
this will help you to select few files in the folder.
hope this helps.
thanks and regards,
Praveen T
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.