Hello, All!
Please help, here is my code
Imports EnterpriseDT.Net.Ftp
Module ftpReader
Sub main()
Dim cxn As New FTPConnection
cxn.ServerAddress = "ftpHost"
cxn.UserName = "userid"
cxn.Password = "******"
cxn.ConnectMode = FTPConnectMode.ACTIVE
cxn.ServerPort = 21
Try
cxn.Connect()
cxn.Close()
Catch ex As Exception
Console.WriteLine(ex)
End Try
End Sub
End Module
Error message:
EnterpriseDT.Net.Ftp.FTPException: Not logged in. (code=530)
What is my problem.
Thanks.