I have written a schedule task to run a report. The task can either FTP the file or put it in sourcing directory.
I want to SFTP the file to different server, as in production FTP is not working.
So I am thinking following options to SFTP the file
1. Writing a unix script to SFTP the file from sourcing directory to other server. But wondering how to trigger the script. Is Cron the only option?
2. Directly SFTP the file, but I don't think we have this option in sourcing.
Please let me know if we have any option to SFTP the file or scheduling a unix script.