Re: login fail, but runs multiple downloads
I cannot imagine what might go wrong with the simple batch file from your original post.
Is it really that simple?
Did you try to preserve/log contents of the batch file just before you run
If the commands are fixed this way, why do you even generate the script?
If you wanted to avoid having yet another script file (beside the batch file), you can instead specify the commands on WinSCP command-line.
Example here: https://winscp.net/eng/docs/faq_batch_file#newline_escaping
This way, WinSCP will log the commandline including the commands, what will ease debugging.
Is it really that simple?
Did you try to preserve/log contents of the batch file just before you run
winscp.com
, to double check that the contents is as you expected?
If the commands are fixed this way, why do you even generate the script?
If you wanted to avoid having yet another script file (beside the batch file), you can instead specify the commands on WinSCP command-line.
Example here: https://winscp.net/eng/docs/faq_batch_file#newline_escaping
This way, WinSCP will log the commandline including the commands, what will ease debugging.