Re: 'Download most recent file' File not found
Do you refer to this line
of this code:
https://winscp.net/eng/docs/script_download_most_recent_file#scripting ?
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:
https://winscp.net/eng/docs/library
https://winscp.net/eng/docs/library_powershell
var logfile = filesys.GetFile(logfilepath);
of this code:
https://winscp.net/eng/docs/script_download_most_recent_file#scripting ?
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:
https://winscp.net/eng/docs/library
https://winscp.net/eng/docs/library_powershell