mediation
Technical User
- Nov 11, 2006
- 17
Hi All,
We are in the process of changing our File transfers to Secure mode using SecureShell.
We already have scripts to Do File transfer using FTP client (i.e, non secure mode) and
iam giving one example, which explains how we automate regular FTP.
Now we are changing all of them to SFTP or Secure transfer mode/encrypted.
Our old regiular scripts are some thing like this
ftp -n -i -v ftp.url.com <<!
user username password
cd /data/shared/
lcd /data/import
mget vcm*.dat
bye
!
My question is
How to Automate the SFTP Scripts by passing Password through the script.
Responses are highly appreciated.
Thanks in advance,
We are in the process of changing our File transfers to Secure mode using SecureShell.
We already have scripts to Do File transfer using FTP client (i.e, non secure mode) and
iam giving one example, which explains how we automate regular FTP.
Now we are changing all of them to SFTP or Secure transfer mode/encrypted.
Our old regiular scripts are some thing like this
ftp -n -i -v ftp.url.com <<!
user username password
cd /data/shared/
lcd /data/import
mget vcm*.dat
bye
!
My question is
How to Automate the SFTP Scripts by passing Password through the script.
Responses are highly appreciated.
Thanks in advance,