sftp batch file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ddtpmyra
    Contributor
    • Jun 2008
    • 333

    #1

    sftp batch file

    Here's my script and it's still prompting me to enter the password. Is there other way to push the password without the prompt and do it automatically? Help!

    Code:
    sftp abc@xx.xxx.x.xx
    echo mypassword
    put c:\test.txt
    quit
Working...