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

asked 15 Jul '10, 09:56

Martin%20House's gravatar image

Martin House
895
accept rate: 100%

edited 10 Aug '10, 13:10

Rebex%20KB's gravatar image

Rebex KB ♦♦
256312

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.

(15 Jul '10, 10:56) Martin Vobr ♦♦

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 ! :-)

link

answered 15 Jul '10, 13:27

Martin%20House's gravatar image

Martin House
895
accept rate: 100%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×136
×7
×1

Asked: 15 Jul '10, 09:56

Seen: 502 times

Last updated: 10 Aug '10, 13:10