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!

Script to transfer file from linux box to ftp server

User_LJTCOJul 12 2019 — edited Jul 16 2019

Hi Team,

I need a help in writing shell script. I have linux box and under /u01/input folder i have .zip file which is coming on daily basis.

I have to transfer these zip file on real time basis from linux box to FTP server. But the catch is, FTP server can be used by private key. When i have to login to ftp server, i am giving IP of ftp server and login with opc user and using private key to authenticate it.

How we can add this in my script to pick private key of that ftp server and authenticate it first and transfer file.

Please help me in this.

Regards

Comments
Post Details
Added on Jul 12 2019
4 comments
1,815 views