在 Debian 上使用 FileZilla(FTP/SFTP 客户端)时,如果觉得传输速度慢,可以从软件设置、系统环境、网络与服务器几个方面来提速。下面按实用性给你一套方案。
FileZilla 默认只同时传 1–2 个文件。
设置路径:
编辑 → 设置 → 传输 → 最大同时传输数
建议:
⚠️ 不要太大,部分服务器会限制连接数。
编辑 → 设置 → FTP → 传输模式 → 被动(推荐)
Debian 客户端在 NAT/防火墙后,被动模式更稳定。
编辑 → 设置 → 界面 → 消息日志
sftp://Debian 自带版本可能较旧:
sudo apt update
sudo apt install filezilla
或官网下载 AppImage(新版性能更好):
chmod +x FileZilla_*_linux-x86_64.AppImage
./FileZilla_*_linux-x86_64.AppImage
编辑:
sudo nano /etc/sysctl.conf
添加:
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_window_scaling = 1
生效:
sudo sysctl -p
可用命令测速:
iperf3 -c 服务器IP
MaxSessions 限制如果 FileZilla 仍然慢,可考虑:
lftp(多线程,极快)sudo apt install lftp
lftp -e "mirror -P 10 /remote /local" ftp://user:pass@host
rsync(SFTP 优化)rsync -avP user@host:/remote/ /local/
如果你愿意,可以告诉我:
我可以给你更精确的提速方案。