martin wrote:
The option reconnecttime
is (implicitly) set to 120 and you didn't even wait that long.
Did you try to set the option to lower value?
Hi prikryl ,
Here is the another generated log.txt. I set "option reconnecttime" 2 seconds.
I saw this line:
. 2015-06-11 09:58:49.899 Connection was lost, asking what to do.
. 2015-06-11 09:58:49.899 Asking user:
. 2015-06-11 09:58:49.899 Lost connection. ("Timeout detected. (data connection)","Could not retrieve directory listing")
I think these line where I saw WinSCP Application pop-out dialog ask user to choose whether abort or reconnect.
but in C# application does not pop-out the dialog. The c# application by default after reconnectime, it will reconnecting the FTP server again.
So how it allow my c# application jump out from this loop of re-connection to my FTP Server? or at least it enable to pop-out the dialog same like in WinSCP application to ask whether user want to abort or reconnect.
Thank you.
Best Regards,
whitedevil91