Hi @Martin Prikryl I am also getting the same error. My SQL job is failing due to this error.
Error when using WinSCP to download file: WinSCP.SessionRemoteException: Error occurred during logging. It's been turned off.
Can't open log file '\\Server\Apps\WinscpLogs\WinscpSessionLog.txt'. System Error. Code: 5. Access is denied at WinSCP.SessionLogReader.Read(LogReadFlags flags)
But the strange thing to note here is this issue is coming intermittently. let's say few days it works fine and some days it fails. if this is really a access issue then it should not work at all right ?
Please help me to fix this ??