Hi,
i reopen this thread because since i migrate to the last version (i was previously on 3.3) my windows service crash when i had a FTPTimeout Exception.
I follow the recommandation and put Flags to None and KeepAliveInterval to 0 but it doesn't solve my problem.
The FTP servers which i'm connected are IIS 6 (can't upgrade for now).
The error is not my main problem, it the crash of windows service the real issue (i can't catch this exception).
There is the stacktrace of the error :
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ObjectDisposedException
Stack:
at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean ByRef)
at Microsoft.Win32.Win32Native.SetEvent(Microsoft.Win32.SafeHandles.SafeWaitHandle)
at System.Threading.EventWaitHandle.Set()
at Xceed.Ftp.Engine.FtpDataConsumerCommand+<>c__DisplayClass8.<BeginProcessData>b__7(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Thanks,