The process successfully creates a session, but it doesn't execute the ls, cd, put or exit. The console stays upon with the session active. I am able to then manually enter the ls, cd, put and exit commands manually and the file transfers.
Is there something that I need to do to make the actions execute automatically.
I've spent a number of hours on winscp.net and I can not seem to figure out what I'm doing wrong.