on 03-12-2010 3:34 AM
Hi,
Whenever the user places their file in the input file location it is with rw-r-r. PI is not able to pick up the file.
PI is able to process the file which atleast has the attributes rw-rw-r.
is there any automated way to change the file attributes so that PI can process the file
Hi,
i think you can use a file adapter feature called "Run Operating System Command Before message processing"" and excute a unix shell script to change the mode of the file first and then pick the file using the file adapter.
Refer the following blogs and links for more information:
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
/people/santhosh.kumarv/blog/2008/07/27/glimpse-at-os-command-yet-another-scenario
/people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
Regards,
Puneet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
From PI side, u cannot do anything, because it can access only those files which have permission to access.
So u can write a batch, which will poll and changes the permissions of the files present in a directory.
Babu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.