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!

Switching over from ftp to sftp in oracle apps

Ram RavananDec 14 2015 — edited Dec 15 2015

Hi,

I need to change the FTP server to SFTP server for file communication

##FTP the data file system##

ftp_datafile()

{

cd $COV_TOP/data

v_ftp_script=test.ftp

echo "

  open $v_ftp_ip 

   user ${v_ftp_user} ${v_ftp_pwd}

  if [ -z "$v_ftp_dir" ]

  then

    null;

  else

    cd ${v_ftp_dir}

  fi

  get ${v_ftp_file_decrypt}

  del ${v_ftp_file_decrypt}

  bye

  " >> ${v_ftp_script}

  ftp -nv <$v_ftp_script >ftp_log.log

##############

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 12 2016
Added on Dec 14 2015
2 comments
1,226 views