Error message thrown...
An unhandled exception of type 'Limilabs.FTP.Client.FtpResponseException' occurred in Ftp.dll
Additional information: Protocol mismatch.
when 'client.Login(username, password)' line is ran see code below:
Dim username As String = "wgoftp"
Dim password As String = "XXXXXXXXXXX"
Using client As New Ftp()
client.Connect("web.winnebagoind.com", 22) ' Port 22 used for SFTP
client.Login(username, password)
client.ChangeFolder("/opt/cms/dealer_input")
If client.Connected = True Then
If File.Exists("W:\IDEAL.TXT") Then
If client.FileExists("IDEAL.TXT") Then
client.DeleteFile("IDEAL.TXT")
End If
' Upload the file to the current folder on the server
client.Upload("IDEAL.TXT", "W:\IDEAL.TXT")
End If