This project is read-only.

Login or password incorrect

Nov 29, 2013 at 3:31 PM
I can't login on my FTP server even though host, username and password are correct.
Anyway, here you are my trace:
220 Ftp Company Name
331 Password required for myuser
PASS <omitted>
530 Login or password incorrect!

My VB .NET code:

Imports System.IO
Imports System.Net
Imports System.Net.FtpClient

Public Class Form1
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
    FtpTrace.AddListener(New ConsoleTraceListener())

    Dim client As FtpClient = New FtpClient
    client.Host = myHost
    client.Credentials = New NetworkCredential(myUser, myPass)
    client.Port = 21
    client.EncryptionMode = FtpEncryptionMode.None
    client.DataConnectionType = FtpDataConnectionType.AutoPassive
End Sub
End Class

Exception in VS2010:
Eccezione first-chance di tipo 'System.Net.FtpClient.FtpCommandException' in System.Net.FtpClient.dll

Any help would be appreciated.