Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.3k views
in .NET FTP by (120 points)
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()

1 Answer

0 votes
by (51.6k points)
That's strange. Does it work if you use the IP address instead of the host-name?

- Hans (EDT)

Categories

...