Hi Indranil
[list=1]
[*] No, there is currently no way to do this in edtFTPnet/PRO. The best I can suggest is that you write your own method to do it.
[*] This is a threading problem which is usually caused by mixing synchronous methods with asynchronous methods. If possible please try to use either one or the other, but not both. If you cannot, or if this does not work, then please try setting ftpConnection.UseGuiThreadIfAvailable to false.
By default, when they're executing asynchronous methods, ExFTPConnection and SecureFTPConnection try to execute callbacks and event-handlers on the GUI thread. This has the advantage of avoiding the dreaded cross-thread exceptions. However, if the GUI thread is busy then you can end up having the callback/event-handler invocations hanging until the GUI thread becomes available. If the GUI thread is in effect waiting for the completion of the invocation then you'll get deadlocking.
Setting UseGuiThreadIfAvailable to false prevents this behavior. While this should stop the deadlocking, you are now likely to get cross-thread exceptions if you try to update your GUI from inside the callback/event-handler.
We have just completed some optimizations that should both speed up callback/event-handler invocations and also reduce the risk of deadlock, but these will not be released for some time.
- Hans (EDT)