Hello!
I have a SFTP-channel that is supposed to execute a command after processing file. ATM we have two PI and it works in one of our PI, but in the other one it does not work. Look at this:
18.12.2014 16:25:18.364 | Information | Executing OS command: mv "*.xml" "/xfer/chroot/transfer/xxisftp/test/KAT/Receiver/*.xml" |
18.12.2014 16:25:18.364 | Information | send Invoice_20141218_1625_8000000007.xml to /xfer/chroot/transfer/xxisftp/test/KAT/Receiver/Temp/ |
It seems my command is executed BEFORE the channel is putting the file in the directory. It should look like this:
18.12.2014 16:25:18.364 | Information | send Invoice_20141218_1625_8000000007.xml to /xfer/chroot/transfer/xxisftp/test/FCI204/Receiver/Temp/ |
18.12.2014 16:25:18.364 | Information | Executing OS command: mv "*.xml" "/xfer/chroot/transfer/xxisftp/test/FCI204/Receiver/*.xml" |
Anyone have ideas why this is?!