OS command issue in sap pi file sender channel
we have a scenario in which PI will pick file from application server and just pass it to target FTP.
As per requirement, we need to add extension as .ok in the file name.
We used below OS command for this which is placed on application server.
We are running this command before message processing so that PI picks it after extension is added.
The issue is, our sender file channel executes the OS command properly and adds the extension to file name, but it doesn't process the file.
If we skip OS command, it is processing the file.
Please share your thoughts.