Incorrect State Reporting (General questions)
Currently using version 3.0.2.16 of wodSFTP.NET DLL. When trying to
connect, and connection is unsuccessful, the DLL incorrectly reports
the state of the object as still connecting.
Connecting to a custom server built with wodSSHDcom Component.
Example:
[code]
Try
m_SFTP.Connect()
Catch ex as Exception
'Report Error Here
End Try
If m_SFTP.State Disconnected Then
'Enters into this statement even if connect routine
'above reports error
End If
[/code]
The state is NOT reported incorrectly when the error returned from connecting is an authentication error.
The state IS reported incorrectly when the error returned from connecting was that the target machine actively refused the connection.
To duplicate this error, try connecting to a machine which does not have an SSH Server installed or currently running.
Complete thread:
- Incorrect State Reporting - Jason, 2006-01-19, 19:26
- Re: Incorrect State Reporting - Jason, 2006-01-19, 19:28
- Re: Incorrect State Reporting - wodSupport, 2006-01-19, 20:55
- Re: Incorrect State Reporting - Jason, 2006-01-19, 19:28