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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to pass password to an lftp connection using shell script

User_EXMN2Jan 6 2015 — edited Jan 19 2015

Hi

I need to transfer a file to server which support FTPS protocol. I am using lftp utility for this purpose. User credentials used to establish the connection expires after a period(eg: 45 days/3 months) . Can anyone guide me with me an approach to use the password in the shell script which transfer the file to the remote server other than hard coding the password in the script.

Thanks

Ramya

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 16 2015
Added on Jan 6 2015
3 comments
7,054 views