If you just want to copy specific files and don't care about storing the password in the script you can use the scp client from
. pscp is pretty easy to use and you should be able to pass everything you need to retrieve a file in one command. I've set similar things up in batch files.