I am receiving this error message ("No such host is known") when trying to connect with FTPConnection. I know the host does exist because I can connect using WS FTP. Is there something I'm missing?
'Use FTPConnect control.
FtpConnection1.Connect()
'Upload each file in the array:
For x As Integer = 0 To ar.Length - 1
FtpConnection1.UploadFile(ar.GetValue(x), ar.GetValue(x), False)
Next
FtpConnection1.Close()