Sorry, I know there are some of that topics in this Forum, but I can't find one matching my Problem :)
I am using the following line in my Batch file to download files from a ftp Server:
.\Plugins\winscp.com /ini=.\Plugins\WinSCP.ini /log=log.txt /command "option batch abort" "option confirm off" "open ftp://user:password@%quellsrv%" "echo Wechsle Remote-Verzeichnis:" "cd %quellordner%" "echo Wechsle Lokales-Verzeichnis:" "lcd .\TMP\Downloads" "echo Downloade Dateien:" "get *.pdf" "exit" >>%logdateipfad%\%logdateinamen% 2>>&1
Normally, and if I am starting it manual, the output should be like this:
i - 27.11.2013-14:25:37 Download wird gestartet..
batch abort
confirm off
Connecting to IP ...
Connected with IP. Waiting for welcome message...
Connected
Starting the session...
Reading remote directory...
Session started.
Active session: [1] user@IP
Wechsle Remote-Verzeichnis:
/path/
Wechsle Lokales-Verzeichnis:
C:\Script\TMP\Downloads
Downloade Dateien:
test.pdf | 0 B | 0,0 KiB/s | binary | 0%
Session 'user@ip' closed.
No session.
i - 27.11.2013-14:30:59 ..abgeschlossen!
But if i start it with the same user and with the wts, it just Displays this:
i - 27.11.2013-14:25:38 Download wird gestartet..
i - 27.11.2013-14:30:59 ..abgeschlossen!
I tried 1000 things but i couldn get this fixed!
Any hints?