I was wondering if someone happens to have a shell script that ftps files generated in last few hours from the primary server to standby server and applies them to the standby database.

thanks