Get your free beta license ↗
FTP, SFTP and SSH · ProFTPD

An FTP client connects but the folder list times out

Last updated 30 Nov 2026
Summary

An FTP client logs in, then times out while loading the folder list. UrbeStack opens the passive ports set for ProFTPD in ftp.passive_ports (49152 to 50151 unless changed) in its own firewall, and opening those ports in the firewall in front of the server fixes the timeout.

Symptoms

The FTP login succeeds. The client enters passive mode and times out while retrieving the folder list.

Cause

In passive mode, each folder listing and each file uses a separate connection to a port in the ftp.passive_ports range. The default range is 49152-50151.

While FTP is on, UrbeStack opens that range in its own firewall. Check the rule for the default range.

nft list chain inet urbestack input | grep 49152
Output
tcp dport 49152-50151 accept comment "proftpd, the passive data connections"

A firewall in front of the server, such as the hosting provider's firewall, can still block the range.

Resolution

  1. Open TCP ports 49152 to 50151 in the hosting provider's firewall.

  2. You can also set a smaller range that suits the provider's firewall and open that range there.

    urbestack-setting-set --key ftp.passive_ports --value 50000-50100
  3. UrbeStack opens the new range in its own firewall.