how can i capture exception when the sftp connecti (General questions)

by hit_arc, (6252 days ago)

Hi,

Can anyone guide me how to capture an exeception when the connection with remote server is lost. I mean a file was getting transferred and then i unplugged my network cable. What happens is state_changedevent is fired with newstate = disconnected but no exception arises no done_event is fired. How can i track exceptions in that.

I am using PutFiles with blocking = true.

Thanks in advance

locked

Complete thread: