Hi all ,
can any one tell me how to code SFTP automation script ?
I searched lots of forums but i didn't get any useful information:(
I don't want auto Login script > like if u run the script it should automatically login into specific account and etc..
Just i want the following things need to be in done in my script.
manual password entry.
after we enter the password , what ever the commands in shell script will have to execute .
I wrote the code like this >
sftp username@xyz.com
pwd
cd /xyz
get abc.ksh
But after login the command's are not executed , just simply i got prompt for manual entry
can any one please advise me on this