Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException (General questions)
Puja,
You need to set Blocking Property to true in order to use the component that way. Blocking mode will ensure that the current method is executed before proceeding to the next one.
Please set Blocking proeprty to True before using issuing Connect method. I believe it should work afterwards.
Regards,
Damba
I used the sftp1.blocking property before connect then I recieved a differet error as below
sftp1.Blocking = true;
sftp1.Connect();
System.Net.Sockets.SocketException: A socket operation was attempted to an unreachable network
at ..()
at WeOnlyDo.Client.SFTP.Connect()
Complete thread:
- WeOnlyDo.Exceptions.SFTP.InvalidStateException: In - Puja Mallik, 2008-03-25, 20:36
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - wodDamir, 2008-03-25, 20:40
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - Puja Mallik, 2008-03-25, 20:54
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - Puja Mallik, 2008-03-25, 20:55
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - wodDamir, 2008-03-25, 21:01
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - Puja Mallik, 2008-03-25, 22:31
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - wodDamir, 2008-03-25, 22:39
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - Puja Mallik, 2008-03-26, 19:56
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - woddrazen, 2008-03-26, 20:02
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - Puja Mallik, 2008-03-26, 20:10
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - woddrazen, 2008-03-26, 20:14
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - Puja Mallik, 2008-03-26, 20:10
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - woddrazen, 2008-03-26, 20:02
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - Puja Mallik, 2008-03-26, 19:56
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - wodDamir, 2008-03-25, 22:39
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - Puja Mallik, 2008-03-25, 22:31
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - wodDamir, 2008-03-25, 21:01
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - Puja Mallik, 2008-03-25, 20:55
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - Puja Mallik, 2008-03-25, 20:54
- Re: WeOnlyDo.Exceptions.SFTP.InvalidStateException - wodDamir, 2008-03-25, 20:40