Windows MLSD后Filezilla停止连接
我在filezilla通过名为FTP的FTP客户端连接到服务器时遇到问题 当我尝试连接到服务器时,我得到以下信息Windows MLSD后Filezilla停止连接,windows,ftp,filezilla,Windows,Ftp,Filezilla,我在filezilla通过名为FTP的FTP客户端连接到服务器时遇到问题 当我尝试连接到服务器时,我得到以下信息 Status: Connecting to xxx.xxx.xxx.xx:21... Status: Connection established, waiting for welcome message... Response: 220 ProFTPD 1.3.4a Server (ProFTPD) [xxx.xxx.xxx.xx] Command: USER usern
Status: Connecting to xxx.xxx.xxx.xx:21...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.4a Server (ProFTPD) [xxx.xxx.xxx.xx]
Command: USER username
Response: 331 Password required for password
Command: PASS **********
Response: 230 User username logged in
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: MFMT
Response: TVFS
Response: UTF8
Response: MFF modify;UNIX.group;UNIX.mode;
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response: LANG ko-KR;it-IT;ja-JP;ru-RU;bg-BG;zh-CN;fr-FR;zh-TW;en-US*
Response: REST STREAM
Response: SIZE
Response: 211 End
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (xxx,xxx,xxx,xx,xxx,xxx).
Command: MLSD
它在MLSD之后停止,一段时间后说
Error: Connection timed out
Error: Failed to retrieve directory listing
当我从手机连接互联网时,我可以通过ftp连接到服务器。但我不想这样做。我需要使用有线网络
我正在使用Windows7和笔记本电脑
请帮我连接。使用端口号22而不是21 或者你可以给 ip类 sftp://10.1.10.10.10
如果您正在使用代理/vpn,请禁用代理/vpn,并尝试直接连接 以下是几种解决方案: 我们需要澄清的是,这个问题取决于
路由器
,filezilla的配置
,甚至是ipv6
的一些问题
- 转到站点管理,选择有问题的站点。选择选项卡“传输设置”,然后选择“活动”而不是“默认”
- 验证端口是否设置为21
因为某些路由器或防火墙软件阻止了某些服务器的MLSD通信,所以我的最终解决方案是停止使用FileZilla.Sad
WinSCP现在对我来说工作正常。我在VirtualBox中尝试通过NAT连接到ubuntu服务器16时遇到了问题,修复方法是在filezilla中使用被动模式并配置文件:/etc/proftpd/proftpd.conf 无源端口65532 65534 ->根据需要更改范围 伪装地址[真实NAT中的MyHost IP地址或路由器外部IP]
->当ftp客户端连接到ftp服务器时,127.0.0.1将抛出“EconRefused”而不是“Connection timed out”,在大多数情况下使用被动模式。 然后,在客户端连接之后,服务器将告诉客户端数据通道使用第二个ftp端口 但是这与所描述的问题有什么关系呢?当客户端选择通过SSL或更好的TLS使用加密时,会有很多 在没有加密的情况下,大多数防火墙(在ftp服务器端)能够读取被动端口通信,然后动态打开服务器被动端口范围内的第二个端口。这对双方都适用 但通过加密,防火墙无法读取要打开哪个端口以建立客户端的数据通道连接。因此,在MSLD请求或通过数据通道的任何其他通信之后,您将不会得到响应
如果出现此问题,我打赌99.9%的情况下服务器端防火墙系统会阻止客户端的数据通道通信。唯一可能的解决方案是使用更复杂的协议,如SFTP,或者如果可能,静态打开服务器端防火墙上的整个被动端口范围.你救了我一天!WinSCP刚刚处理了一切