Hi, first of all, I apologize for the delay in responding and now I return to this topic, without leaving it. (In this case is SFTP type)
I attach sesison log and debug log, with versions of the execution from the user and also from the service.
I use WinSCP 5.19.6 (.NET assembly - COM Library)
As you can see, when running from the service, it doesn't connect. It hangs.
Instead, from the normal execution from the windows user, it does connect (but then the
"Session is already opened" error appears when calling
Session.ListDirectory
, but that's another topic)
Note: AVAST Antivirus is stopped.
Note: I'm using Local System account in service. But if I use administrator user, the result is the same. It hangs.
Thanks for advance.
Toni.
-
Debug and SessionLogPath_Service.rar (4.1 KB, Private file)
Description: debug and session log execution in windows service
-
SessionLogPath_User.log (28.94 KB, Private file)
Description: session log normal execution
-
DebugLogPath_User.log (76.9 KB, Private file)
Description: debug log normal execution