session timeout when putting files
"Timeout waiting for WinSCP to respond ... was not created in time" error.
It's intermittent. It doesn't matter whether I specify a path or not. And obviously the scheduler user *does* have write permission, since it works [i]sometimes[/i].
Can I just turn off logging? I just want this to plain work. Frankly, this is the only error I've been getting :)
Is there a way to just turn off logging, using the .NET assembly?
I run it from Windows Task Scheduler once per day.
Obviously the user it runs under does have write permission ... as it works some days, but not others.
Here's an example of the errors:
WITHOUT CUSTOM PATH:
6/21/2013 5:34:38 AM
System.TimeoutException: Timeout waiting for WinSCP to respond - Log file C:\Documents and Settings\Administrator\Local Settings\Temp\wscp0A68.0202C666.tmp was not created in time, please make sure WinSCP has write permissions to the folder
at WinSCP.Session.CheckForTimeout(String additional)
at WinSCP.Session.Open(SessionOptions sessionOptions)
WITH CUSTOM PATH:
6/24/2013 5:34:10 AM
System.TimeoutException: Timeout waiting for WinSCP to respond - Log file C:\WinSCP.log was not created in time, please make sure WinSCP has write permissions to the folder
at WinSCP.Session.CheckForTimeout(String additional)
at WinSCP.Session.Open(SessionOptions sessionOptions)