Hello,
We have been using FTP as a method to move files to/fro external servers. Typically , we create a Host program and schedule it.
I have a requirement now to move a file from Oracle App Tier (Output folder) to a 3rd party site. I have the Host, UN/pwd of the destination system. When I loginĀ to Winscp, I can get into their site and see the folders/docs etc. When I use PSFTP, I can move the file. But I have to create a host program based out of Unix and then schedule it.
When in unix I write sftp <host name> I get the below error.
Any Sample script for a similar requirement would be of immense help.
sftp user_name@<host>.com
Connecting to <host>.com
ssh: connect to host <host>.com port 22: Connection refused
Couldn't read packet: Connection reset by peer
The version of Oracle is 12.1.1
Thanks in Advance.