I created a simple app to connect to a private server and download files.
It works fine the first time I run it but if I disconnect and then reconnect to the server the Remotelist is not populated and appears to be disabled.
when I check the connection it tells me its connected.'
this is my code for the connect
SecureFTPConnection1.LocalDirectory = mImporterRoutines.WorkingDirectory
' connect or disconnect
If Not Me.SecureFTPConnection1.IsConnected Then
SecureFTPConnection1.BeginConnect(Nothing, Nothing)
btnConnect.Text = "Disconnect"
Else
SecureFTPConnection1.BeginClose(Nothing, Nothing)
btnConnect.Text = "Connect"
End If
End Sub
I just double clicked on the Connection object which test the connection and has a disconnect button on it. When I use that and then reconnect the same thing happens in that form, the remote list appears disabled
Is there a setting missing?
do I need to reinit the object?