How can I configure NcFTPd to use a specific port range for passive data connections?
The best way is to not configure NcFTPd, and instead let your FTP server machine’s operating system manage how ephemeral ports are allocated. This will give you the best performance and highest reliability for passive data connections. To do that, see our article “The Ephemeral Port Range” for details on how to do this. You can also have NcFTPd do this, using the ephemeral-port-range option, however, this option doesn’t work as efficiently or as reliably as the operating system’s internal management. No matter which way you configure it, the range must be a minimum size of 2000 ports (i.e. don’t think you can open up 10 ports on the firewall for FTP).