Skip to content

Disconnects from server every 60 seconds when using FTP and FTPS #159

@petejfh

Description

@petejfh

I'm doing a recursive delete of a folder which contains ~4000 files split over ~60 subfolders and have noticed that FileZilla is being disconnected every 60 seconds. It re-establishes the connection and continues the delete, but the disconnection pattern continues. The server is hosted remotely to the client.

FileZilla version: 3.65.0 on Windows 11
Protocol: FTPS (TLS 1.3)
Server Host: Linux Rocky el9
Server Host .NET version: 8

Output from the FileZilla log shows:

  • 2024-01-22 19:37:57 32424 1 Error: Connection closed by server
  • 2024-01-22 19:38:57 32424 1 Error: Connection closed by server
  • 2024-01-22 19:39:57 32424 1 Error: Connection closed by server
  • 2024-01-22 19:40:57 32424 1 Error: Connection closed by server
  • 2024-01-22 19:41:57 32424 1 Error: Connection closed by server
  • 2024-01-22 19:42:57 32424 1 Error: Connection closed by server
  • 2024-01-22 19:43:57 32424 1 Error: Connection closed by server

Example output from the FTP server shows for one of these events:

  • Jan 22 19:40:57 Stopped sending responses, from FubarDev.FtpServer.FtpConnection
  • Jan 22 19:40:57 Stopped reading command, from FubarDev.FtpServer.FtpConnection
  • Jan 22 19:40:57 Sending the response cancelled: 426 Connection closed; transfer aborted, from FubarDev.FtpServer.Commands.DefaultFtpCommandDispatcher
  • Jan 22 19:40:57 Connection closed, from FubarDev.FtpServer.FtpConnection

Any ideas on why these disconnects are happening every 60 seconds?

I see the same behaviour with .NET 6 too.

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