Bat/Script file not working
I've got the following problem. I can't get the following code to work automatic trough a .BAT file or with A script:
batch continue
option confirm on
"C:\Program Files\WinSCP\WinSCP.com" ^
/log="C:\Users\PC0102\Desktop\cz2\WinSCP.log" /ini=nul /loglevel=2*^
/command ^
"open ftps://PRC:*@datatransfer.cz.nl
CD Incassopartner2CZ
CD Input
put C:\Users\PC0102\Desktop\cz2\Bestanden\ /prc/Incassopartner2CZ/Input
When I put this code in my cmd it's working perfect (See log 1). When I try the same code in a .BAT file or with a .BAT file who calls on a script its only connecting to the server and isn't doing anything anymore.(see log 2) Is there anyone who could help me with this problem?