pureftp read the directory list failed to solve

FTP is the most frequently used linuxer beginner or experiencing ftp connection timeout, either open ftp directory failed or is not user permissions. ftp directory listing to read today's encounter failed status as shown below: [caption id = "attachment_2301" align = "aligncenter" width = "555"] to open the directory listing fail [/ caption] Our companies are using background opened ftp account , pure-ftp to the mysql certification, but that it failed to read the directory listing, the problem usually lies in the server, whether the problem is suspected of iptables
service iptables stop
Then connect FTP, no longer silent failures. View iptables, does not prohibit 20,21 port. Modify iptables-config file
cat /etc/sysconfig/iptables-config | grep ip_nat_ftp
IPTABLES_MODULES="ip_conntrack_netbios_ns ip_conntrack_ftp ip_nat_ftp"
Restart iptables, open the directory listing successful, ftp normal use. There is also a method that is close ip_conntrack, details, please refer ip_conntrack table full dropping packet solutions please indicate the source: PureFTP read the directory list failed to resolve http://www.ttlsa.com/html/2300.html

Reproduced in: https: //my.oschina.net/766/blog/211543

Guess you like

Origin blog.csdn.net/weixin_33701294/article/details/91493199