Execute a script after SFTP transfer

Hi All,

I am having an issue with the script execution. I am having a SFTP process that send files to a location . I want to execute a script once it transfer the file to that location. Right now I am leveraging autosys file watcher to do that. Is there any way like MFT PPA that can execute the script once the SFTP transfer the file.

Thanks
Arun

You are working remotely on what operating system and version?

Unless you're doing something unusual, executing whatever command you want to run after sftp completes should do what you seem to want. Please show us the script you are using to invoke sftp and explain what new command you want to execute after sftp completes.

And, as Neo said, please tell us what operating system you're using on your source and target systems and also tell us what shell you're using.