FubarDevelopment / FtpServer

Portable FTP server written in .NET
http://fubardevelopment.github.io/FtpServer/
MIT License
472 stars 161 forks source link

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

Open petejfh opened 7 months ago

petejfh commented 7 months ago

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:

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

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

I see the same behaviour with .NET 6 too.

petejfh commented 7 months ago

I'm also seeing the same behaviour using plain FTP (i.e. non-FTPS).

fubar-coder commented 7 months ago

I'll have to look into this, but I assume that some kind of idle connection timer is kicking in.