PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

FTP to SFTP using shell script

Dynamically we are generating the shell script in the Application Engine Program as below and executing the shell script to place a file to other server.

ftp -vni << EOF
prompt off
open citadel.xxxx.xxx
user {USERID} {PASSWORD}
cd /Out/iapofac2/
put PSFIN PATH/FILENAME TARGET FILENAME
close
EOF

Now we have update the above script to SFTP since FTP is no longer supported. So can you please help us with the correct syntax need to written in the Shell script for SFTP

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center