How to send password using sftp batch file
===

I'm trying to download a file from sftp site using batch script.
I'm getting the following error- 
Permission denied (publickey,password,keyboard-interactive).
Couldn't read packet: Connection reset by peer
when running  the command:

    sftp -b /home/batchfile.sftp <user>@<server ip>:<folder>

the batchfile.sftp includes these data:

password

lcd [local folder]

cd [sftp server folder]

get *

bye

Note- It's working when running:

    sftp <user>@<server ip>:<folder>

But I need the ability to enter the password automatically.

Any ideas?
