Posted: 2013-08-19 16:19
Location: Prague, Czech republic
Do you refer to this line
var logfile = filesys.GetFile(logfilepath);
of this code:
Chances are that you use some obsolete version of WinSCP that cannot produce an XML file. Make sure you use the latest one.
Anyway, I recommend you to use WinSCP .NET assembly instead, possible from PowerShell script:
You can post new topics in this forum
And it's free!