我在CentOS服务器上安装了VSFTP守护程序,使用RSA证书使用显式TLS登录.现在,我无法上传超过82k.
对于低于该限制的文件,没有问题. FTP就像一个魅力.但是一旦FileZilla文件达到82k(确切地说是81,952字节),传输就会停止,FTP客户端会挂起,直到达到超时.
FTP客户端控制台:
15:10:21 Command: STOR jquery-1.7.2.min.js 15:10:21 Response: 150 Ok to send data. 15:11:21 Error: Connection timed out 15:11:21 Error: File transfer failed after transferring 82 KB in 60 seconds
/var/log/vsftpd.log
FTP command: Client "x.x.x.x","STOR jquery-1.7.2.min.js" FTP response: Client "x.x.x.x","150 Ok to send data." OK UPLOAD: Client "x.x.x.x","jquery-1.7.2.min.js",81952 bytes,1.32Kbyte/sec FTP response: Client "x.x.x.x","226 File receive OK." // NOT okay,file is bigger // No mention of error here
我找不到有关此问题的相关信息,除了trans_chunk_size可能存在的问题(默认配置中未提及),但我尝试了不同的大小,它对问题没有影响.
trans_chunk_size = 4096
trans_chunk_size = 8192
trans_chunk_size = 9999
当然,在每次配置更改后,我重新启动服务器:
/etc/init.d/vsftpd重启
还有什么可以导致这个?
它不是最新版本,但它是存储库中的最新更新,被认为适合企业使用:
包装信息:
$yum info vsftpd Loaded plugins: fastestmirror Installed Packages Name : vsftpd Arch : x86_64 Version : 2.0.5 Release : 24.el5_8.1 Size : 286 k Repo : installed Summary : vsftpd - Very Secure Ftp Daemon URL : http://vsftpd.beasts.org/ License : GPL Description: vsftpd is a Very Secure FTP daemon. It was written completely from scratch.
听起来问题出在客户端.你有没有尝试过另一个客户端程序:
lftp
,TLSWrap
,……?
> http://trac.filezilla-project.org/ticket/7837
> https://savannah.gnu.org/support/?107660
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。