Posted: 2012-05-09 23:02
I'm trying to write a batch script that transfers files using secureFTP with the WinSCP application.
The script runs and authenticates but seems to stop once the active session starts and leaves the command window open at winscp>
it doesn't put (transfer) my file.
Can anyone help?
Here is my batch script:
cd Program Files (x86)\WinSCP
It seems to stop on cd myTestDirectory. When I run my batch file it just leaves the command console open at winscp>
It definitely shows that it authenticated correctly.
Thanks for any help.
Location: Prague, Czechia
You need to put your WinSCP commands into separate script file.
Please read guide to scripting:
You can post new topics in this forum
And it's free!