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

1 Answer

0 votes
by (51.6k points)
This is quite mysterious. I would like to see the log. Can you please turn on logging (see the Developer's Guide) and post the log?

- Hans (EDT)

Categories

...