I've got the following problem. I can't get the following code to work automatic trough a .BAT file or with A script:
option confirm on
"C:\Program Files\WinSCP\WinSCP.com" ^
/log="C:\Users\PC0102\Desktop\cz2\WinSCP.log" /ini=nul /loglevel=2*^
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?