Skip to Content
Former Member
Apr 14, 2011 at 06:57 AM

Shell Script not getting invoked in File adapter


Hi all,


PI need to pick the file from source directory and send it to target directory using SFTP.

I'm using SCP command for this purpose.

When I run the shell script (with simple SCP command) from command prompt, script is working fine.

Same script is called from PI File adapter but script is not getting invoked.

In the communication channel logs, "Executed OS command" is available. There are no Error/Warning messages in the log.

NFS transport protocol is used in the File communication channel.

Complete directory path of the shell script is mentioned in File channel -> Run Operating System command after message processing.

Even the following simple command is not working from PI receiver file channel:

echo "Test file" >> /data/test.txt

Please let me know if I'm missing out something.