log and xmllog are the same
OK, but even that is wrong.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
log and xmllog are the same
/log
, /xmllog
and output redirection (>
). You have to use three separate logs.
"D:\Program Files (x86)\WinSCP\winscp.com" ^
/script="D:\jobs\FTPSync2\SFTPsync2.ftp-commands.20150302_133258.txt" ^
/log="D:\jobs\FTPSync2\SFTPsync2.ftplog_20150302_133258.log" ^
/xmllog="D:\jobs\FTPSync2\SFTPsync2.ftplog_20150302_133258.log" ^
/xmlgroups ^
>>"D:\jobs\FTPSync2\SFTPsync2.20150302.log" 2>&1
ECHO test > "D:\jobs\FTPSync2\SFTPsync2.ftplog_20150302_133258.log"
"D:\Program Files (x86)\WinSCP\winscp.com" ^
/script="D:\jobs\FTPSync2\SFTPsync2.ftp-commands.20150302_133258.txt" ^
/log="D:\jobs\FTPSync2\SFTPsync2.ftplog_20150302_133258.log" ^
/xmllog="D:\jobs\FTPSync2\SFTPsync2.ftplog_20150302_133258.log" ^
/xmlgroups ^
>>"D:\jobs\FTPSync2\SFTPsync2.20150302.log" 2>&1
ECHO SET > "D:\jobs\FTPSync2\SFTPsync2.ftplog_20150302_133258.log"
ECHO test >> "D:\jobs\FTPSync2\SFTPsync2.ftplog_20150302_133258.log"
"D:\Program Files (x86)\WinSCP\winscp.com" ^
/script="D:\jobs\FTPSync2\SFTPsync2.ftp-commands.20150302_133258.txt" ^
/log="D:\jobs\FTPSync2\SFTPsync2.ftplog_20150302_133258.log" ^
/xmllog="D:\jobs\FTPSync2\SFTPsync2.ftplog_20150302_133258.log" ^
/xmlgroups ^
>>"D:\jobs\FTPSync2\SFTPsync2.20150302.log" 2>&1