Re: Missing filename in failure node
Ok, got you. Thanks!!
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
FileName for all successful transfers but cannot see fileinfo for failed ones.
<failure> node is showing as below, I do not understand why cant I track file names. Please help how to add filename for failed ones.
<failure>
<message>Error listing directory '/SPD2/Input'.</message>
<message>Could not retrieve directory listing</message>
<message>The system cannot find the path specified. </message>
</failure>
open ftps://xx:aa@yyyyy -explicitssl -rawsettings
synchronize remote c:\FTPRoot\SPD\WS\WS_A01 /SPD1/Input
synchronize remote c:\FTPRoot\SPD\WS\WS_A04 /SPD2/Input
synchronize remote c:\FTPRoot\SPD\WS\WS_A06 /SPD3/Input
TransferOperationResult returned by Session.PutFiles or Session.GetFiles:
Session.FileTransferred:
Session.Dispose is called.
winscpnet.dll for my project and when I want to view the XML log of WinSCP , I got this code:
session.XmlLogPath = @"C:\MyProject\MyLog.xml";
/xmllog instead of /log in 5.5.3! Indeed I confirm your saying, @martin: before trying anything else, make sure you use the latest version of WinSCP!
/log and NOT the /xmllog parameter. In the documentation, it is said that it is deprecated and just maintains compatibility with older version.
winscp.com /script-my.scr /xmllog=F:\mydir\log.xml
.xml as the extension of the file you are logging with. Example /log=C:\MyLogFile.xml
/xmllog parameter.