Windows资源管理器在PASV命令后挂断FTP连接 [英] Windows explorer hangs up FTP connection after PASV command

查看:336
本文介绍了Windows资源管理器在PASV命令后挂断FTP连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试实现一个简单的FTP服务器。它适用于总指挥官和firefoxm,但Windows资源管理器非常奇怪。它发送'PASV'命令,用IP和PORT号码得到答案,然后只是抛出一个错误('没有连接服务器'或类似的东西,没有说明)。我不明白为什么会这样做。



或者我可以强制资源管理器以某种方式使用活动模式?

解决方案

解决了这个问题。我的服务器只有在获得命令后才打开被动端口,并且explorer正在等待它在PASV后面就绪。


I try to implement a simple FTP server. It works with total commander and firefoxm but windows explorer works very strange. It sends 'PASV' command, gets the answer with IP and PORT numbers and then just throws an error ('cound not connect server' or something similar, no description). I can't understand why does it do so.

Or maybe I can force explorer to use active mode somehow?

解决方案

Solved the issue. My server was opening passive port only after getting command, and explorer was waiting for it to be ready just after PASV.

这篇关于Windows资源管理器在PASV命令后挂断FTP连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆