Error in running dockerized .NET app that uses WinSCP

Advertisement

stardust3dd
Joined:
Posts:
1

Error in running dockerized .NET app that uses WinSCP

I am trying to write a simple .NET console application that reads the list of files from a SFTP server. The app works fine on my local machine & shows me all files present on my SFP server. However, I need to containerize my .NET console app. When running the same app, containerized, this error shows up
Unhandled exception. WinSCP.SessionLocalException: WinSCP process terminated with exit code -1073741515 (C0000135). There was no output. Response log file C:\Windows\TEMP\wscp079C.011C7A8C.tmp was not created. This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.
   at WinSCP.Session.Open(SessionOptions sessionOptions)
   at PullSFTP.Program.Main(String[] args) in C:\Program.cs:line 39
   at PullSFTP.Program.<Main>(String[] args)

I need to understand the error. I am unable to find more information about this error code, and whether I am getting this because WinSCP fails to start, or because of the lack of write permissions. Please help me understand the problem in detail.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
35,567
Location:
Prague, Czechia

Re: Error in running dockerized .NET app that uses WinSCP

Please set Session.DebugLogPath and post the log.

Reply with quote

Advertisement

You can post new topics in this forum