I use a script, which contains the line:   sftp    $FTP_USER@phcsftp.pearsoned.com:/dir/file.txtWhen I run the script, it asks for my password:user@phcsftp.pearsoned.com's password:However, I don't want to be prompted to type my password.  I want my script automate the password entry and download the filesGuys, I don't want to do it. All I want to catch that prompt inside the script and put password. Is it possible?sshpass belong to bash?this is not working at all
sftp script to get a file from remote machine
shell script;password;sftp