Scripting automatic login
I would really like to create a script that logs me in and downloads some files. I saw the example of how to do exactly this, but it doesn't account for the password prompt. Whenever I connect I am prompted for my password, I'd like to script the whole thing. Is this possible?