Hi I'm using Rebex.Net.Ftp 2.0.2567, and I want to check the Ftp connection state at the end of my try/catch block in order to disconnect if there was some error during transfer etc. I thought something like this might work :
If ftp.GetConnectionState.Connected Then
However, I get a
InvalidOperationException error telling me that I'm "Not connected to the server".
Can anyone suggest where I'm going wrong please ?