I have a windows service developed to download autopilot for every 1 hour. It is developed using .NET Core. Service was deployed in one of the machines, Service runs and downloads files at least 3 or 4 times then it's throwing an exception WinSCP process terminated with exit code 3. as below.
If I restart the service then it works for three four run again and getting a same exception. Your help on this will be greatly appreciated.ListOfRemoteDirectories, Error details:WinSCP.SessionLocalException: WinSCP process terminated with exit code 3. There was no output. Response log file C:\Users\filetransfersvc\AppData\Local\Temp\wscp2EA8.009B9DC9.tmp was not created. This could indicate a lack of write permissions to the log folder or problems starting WinSCP itself.
at WinSCP.Session.Open(SessionOptions sessionOptions)
at ECI.EDI.WinSCPExtension.WinscpExtension.ListOfRemoteDirectories(IFtpInfo _ftpInfo) in C:\agent\_work\81\s\ECI.EDI.WinEcpExtension\WinscpExtension.cs:line 400.