sftp password authentication question

From: barabba (barabba72@hotmail.com)
Date: 12/06/02


From: barabba72@hotmail.com (barabba)
Date: 6 Dec 2002 08:26:30 -0800

Hi all,

I have a big problem for which I hope somebody can help me out.
I have a W2k server machine (equippend with SSH Secure Shell) which
needs to send some logs to another similar machine (equipped with
NetworkSimplicity SSH server). The authentication method is password
(this implementation cannot use public key authentication).

Nevertheless, I would like to automate this process by feeding the
sftp with a file containing the user/password and the put commands to
execute.
The problem is that I tried this but I only manage to either automate
the authentication or the command process but not both. I know this
can be apparently easily accomplished with normal FTP. How do I get
this to work with SFTP or SFTP2 ??? I tried all sort of syntax but to
no avail.

Any help would be greatly appreciated.