Hi,
I am getting the same error.
Log Linked Files Archive - Started - 10/31/2021 2:20:14 AM
Error: System.TimeoutException: Timeout waiting for WinSCP to respond - WinSCP has not responded in time. There was no output. Response log file E:\AbacusAutoCheck2\log\winscp.log was not created. This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.
at WinSCP.Session.CheckForTimeout(String additional)
at WinSCP.Session.Open(SessionOptions sessionOptions)
at AbacusLogs2DB.AbacusLogs2DB.LogLinkedFilesArchive()
Log Linked Files Archive - Finished - 10/31/2021 2:21:21 AM
This is the error (call to log linked files procedure) I am getting. According to this article, (
https://winscp.net/eng/docs/message_library_timeout_waiting_to_respond), I supplied the user credentials, but now I am getting
Win32_exception The stub received bad data error.
Googling suggest the process domain is not specified, but I don't see a way to set that.
The task runs under Task Scheduler using a service account. Manually running the task (VS Studio) under my user account seems fine.
Any clues? I have attached the debug log for reference. For this program, there is no file transfer. It only does a directory listing.
RemoteDirectoryInfo directory = session.ListDirectory("/data");
Regards,
Eddy