automated sftp script

Ok, I am sure this has been beat like a dead horse, but I an trying "anew". I am trying to create a script that will automate a file transfer using sftp. Please, I am at rock bottom. Thank you.

klindel,

Look at the last line in this thread, which points you to a solution.

Check this article I wrote some time back on completely automated way for sftp access/download with Perl Expect. The method does not require pass phrase less public keys either or any other Perl modules.
Using Perl Expect To Automate SFTP Access