A fix for FTP MLSD connection timeout error
Personally I can't believe it. I never really thought I'd get to the bottom of this one. But it looks like setting up my own FTP server is what it took to find the fix.
So first, here's the environment:
- Linux FTP server - I haven't tested yet with anything Windows based, but it seems to happen with all Linux based FTP servers.
- FTP client Filezilla - Only tried with Filezilla so far.
- Explicit FTP (FTPES) - Never had the problem with insecure FTP, but you shouldn't be using that anyway.
- Valid FTP user - you must be able to authenticate successfully.
echo "46700 46800" > /etc/pure-ftpd/conf/PassivePortRange
ufw allow 46700:46800/tcp
I hope this helps you - please let me know below.