automating sftp script

I have to write an automated sftp script which uses password authentication method to access the remote server. I want to pass the password as a parameter or to be included in the script itself, so that when i run the sftp script, it should not prompt me to enter the password.

Thanks in advance
Rajesh :slight_smile:

See the info in FAQ Section - automate ftp and read the Rules.