Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SFTP as a host program - Unix

2706664Dec 14 2015 — edited Dec 26 2015

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.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 23 2016
Added on Dec 14 2015
7 comments
3,081 views