0 votes
by (570 points)
edited

A user of one of mny applications is reporting an error User cannot log in (530) ftp is trying to when trying to log on. He is using IIS 6.0 on Windows Server 2003.

Here is the logon code :

        If FTPHost <> "" Then

            ftp = New Rebex.Net.Ftp()

            Try
                ftp.Connect(FTPHost)

                UpdateStatus("Logging on")
                ftp.Login(FTPUserName, FTPPassword)

                ftp.SetTransferType(Rebex.Net.FtpTransferType.Binary)

                ftp.ChangeDirectory("\Upload")

                UpdateStatus("Uploading")

FTPHost, FTPUserName and FTPPassword as set up correctly at thbis point. They are able to log in with the same credentials using FileZills FTP client.

Can anyone suggest why this is happensing and /or what I can do abot it ?

Many thanks

Martin

Applies to: Rebex FTP/SSL
by (13.0k points)
Would it be possible to create a communication log from Rebex component (as described at http://www.rebex.net/kb/logging.aspx) and from FileZilla and either update your question or send it to support@rebex.net for analysis? Analyzing differences between those two should help us to determine what's going wrong.

1 Answer

+1 vote
by (570 points)
edited
 
Best answer

It seems that my code, and the rebex FTP is working fine, but there was 'finger trouble' on site. the customer had enterred the incorrect password several time, and had been locked out by IIS, even though the password was corrected. Unlocking the account allowed the login to work fine.

I shall remember that next time ! :-)

...