在 Debian 上调试 FileZilla(FTP 客户端) 通常从 日志、连接、权限、网络、环境 几个方向入手。下面按 常见场景 → 具体做法 给你一套实用调试方案。
filezilla --version
或
apt show filezilla
建议:
Debian 稳定版(bookworm)自带 FileZilla 相对保守,调试问题时常需确认是否版本过旧。
编辑 → 设置调试连接时你会看到:
filezilla
或查看输出:
filezilla 2>&1 | tee filezilla.log
ping ftp.example.com
nslookup ftp.example.com
✅ 设置:
编辑 → 设置 → FTP
传输模式:被动(推荐)
常见错误:
Recv failureGnuTLS error证书验证失败在设置中:
AUTH TLS编辑 → 设置 → FTP → 禁用 TLS
journalctl -u vsftpd
# 或
journalctl -u proftpd
ftp ftp.example.com
ls -ld /home/ftp/upload
id youruser
sudo iptables -L -n
sudo nft list ruleset
确认 20/21 及被动端口范围是否放行。
ldd $(which filezilla) | grep "not found"
sudo apt update
sudo apt upgrade
filezilla
sudo apt remove filezilla
sudo apt install filezilla
strace filezilla
export GTK_DEBUG=interactive
filezilla
✅ 按这个顺序:
你可以直接贴:
filezilla.log我可以 逐行帮你分析 FileZilla 的 FTP 日志。