Skip to content

Unable to connect to FileZilla #616

@mjanulaitis

Description

@mjanulaitis

I have a FileZilla server which I can connect using the FileZilla client. When connecting with the FileZilla Client I get the following messages. I have tried port 21 and 990. Port 22 does not connect.

Status: Connecting to x.x.x.x:990...
Status: Connection established, initializing TLS...
Status: Verifying certificate...
Status: TLS connection established, waiting for welcome message...
Status: Logged in
Status: Retrieving directory listing...
Status: Directory listing of "/" successful
Status: Connection closed by server

When using this client library I with the following format:

            var client = new SftpClient(hostname, 990, username, password);
            client.Connect();

I see the connection on my server and it responds however the client throws the following exception:

Socket read operation has timed out after 30000 milliseconds

With a stack trace of:

at Renci.SshNet.Abstractions.SocketAbstraction.Read(Socket socket, Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at Renci.SshNet.Session.SocketReadLine(TimeSpan timeout)
at Renci.SshNet.Session.Connect()
at Renci.SshNet.BaseClient.Connect()

I have tried connecting with port 21, 22 and 990.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions