最近新开通的腾讯云服务器安装了IIS和FTP服务后,创建FTP站点使用FlashFxp连接不上。网上看了很多办法都不行。提示“列表错误; PASV 模式失败, 尝试 PORT 模式”,切换到被动模式创建文件夹可以成功,但是就是看不到文件也不能上传文件,折腾了2天终于在国外的论坛上看到几个相关词,研究了下终于解决了。如果尝试了以下方法都能解决,那就就用我的方法试试:
1、检查防火墙,是否允许20、21、22端口等;
2、重建FTP站点,检查读、写权限,检查站点文件夹权限,修改FTP密码等;
3、尝试关闭、打开FlashFxp的被动模式PASV 、主动模式PORT(我折腾一个通宵)等;
4、关闭、更换FTP软件,重启电脑、换电脑、重启服务器等;
5、看了网上几百条解决办法,咨询各种高手等;
6、检查服务器日志、重装FTP服务等。
注意:以上方法均没有解决问题。
解决办法:
-------------------------------------
进入控制面板-硬件-设备和打印机,删除“Microsoft XPS Document Writer”这个虚拟打印机就可以了。
-------------------------------------
下面附上传输日志:
WinSock 2.0 -- OpenSSL 0.9.8a 11 Oct 2005
[右] 正在连接到 219.28.46.22 -> IP=219.28.46.22 PORT=21
[右] 已连接到 219.28.46.22
[右] 220 Microsoft FTP Service
[右] USER webftp
[右] 331 Password required for webftp.
[右] PASS (隐藏)
[右] 530 User cannot log in.
[右] 连接失败
[右] 正在延迟 120 秒, 之后将尝试第 1 次重新连接
[右] 已放弃重新尝试
[右] 正在连接到 219.28.46.22 -> IP=219.28.46.22 PORT=21
[右] 已连接到 219.28.46.22
[右] 220 Microsoft FTP Service
[右] USER webftp
[右] 331 Password required for webftp.
[右] PASS (隐藏)
[右] 230 User logged in.
[右] SYST
[右] 215 Windows_NT
[右] FEAT
[右] 211-Extended features supported:
[右] LANG EN*
[右] UTF8
[右] AUTH TLS;TLS-C;SSL;TLS-P;
[右] PBSZ
[右] PROT C;P;
[右] CCC
[右] HOST
[右] SIZE
[右] MDTM
[右] REST STREAM
[右] 211 END
[右] PWD
[右] 257 "/" is current directory.
[右] TYPE A
[右] 200 Type set to A.
[右] PASV
[右] 连接丢失: 219.28.46.22
[右] 列表错误
[右] 正在连接到 219.28.46.22 -> IP=219.28.46.22 PORT=21
[右] 已连接到 219.28.46.22
[右] 220 Microsoft FTP Service
[右] USER webftp
[右] 331 Password required for webftp.
[右] PASS (隐藏)
[右] 230 User logged in.
[右] SYST
[右] 215 Windows_NT
[右] FEAT
[右] 211-Extended features supported:
[右] LANG EN*
[右] UTF8
[右] AUTH TLS;TLS-C;SSL;TLS-P;
[右] PBSZ
[右] PROT C;P;
[右] CCC
[右] HOST
[右] SIZE
[右] MDTM
[右] REST STREAM
[右] 211 END
[右] CWD /
[右] 250 CWD command successful.
[右] PWD
[右] 257 "/" is current directory.
[右] TYPE A
[右] 200 Type set to A.
[右] PASV
[右] 连接丢失: 219.28.46.22
[右] 列表错误
[右] 正在连接到 219.28.46.22 -> IP=219.28.46.22 PORT=21
[右] 已连接到 219.28.46.22
[右] 220 Microsoft FTP Service
[右] USER webftp
[右] 331 Password required for webftp.
[右] PASS (隐藏)
[右] 230 User logged in.
[右] SYST
[右] 215 Windows_NT
[右] FEAT
[右] 211-Extended features supported:
[右] LANG EN*
[右] UTF8
[右] AUTH TLS;TLS-C;SSL;TLS-P;
[右] PBSZ
[右] PROT C;P;
[右] CCC
[右] HOST
[右] SIZE
[右] MDTM
[右] REST STREAM
[右] 211 END
[右] CWD /
[右] 250 CWD command successful.
[右] PWD
[右] 257 "/" is current directory.
[右] PASV 模式失败, 尝试 PORT 模式。
[右] TYPE A
[右] 200 Type set to A.
[右] 监听端口: 60151, 等待连接。
[右] PORT 192,168,0,100,234,247
[右] 200 PORT command successful.
[右] LIST -al
[右] 150 Opening ASCII mode data connection.
[右] 550
[右] 列表错误
[右] 连接丢失: 219.28.46.22
[右] 正在连接到 219.28.46.22 -> IP=219.28.46.22 PORT=21
[右] 已连接到 219.28.46.22
[右] 220 Microsoft FTP Service
[右] USER webftp
[右] 331 Password required for webftp.
[右] PASS (隐藏)
[右] 230 User logged in.
[右] SYST
[右] 215 Windows_NT
[右] FEAT
[右] 211-Extended features supported:
[右] LANG EN*
[右] UTF8
[右] AUTH TLS;TLS-C;SSL;TLS-P;
[右] PBSZ
[右] PROT C;P;
[右] CCC
[右] HOST
[右] SIZE
[右] MDTM
[右] REST STREAM
[右] 211 END
[右] CWD /
[右] 250 CWD command successful.
[右] PWD
[右] 257 "/" is current directory.
[右] 连接丢失: 219.28.46.22
[右] 正在连接到 219.28.46.22 -> IP=219.28.46.22 PORT=21
[右] 已连接到 219.28.46.22
[右] 220 Microsoft FTP Service
[右] USER webftp
[右] 331 Password required for webftp.
[右] PASS (隐藏)
[右] 230 User logged in.
[右] SYST
[右] 215 Windows_NT
[右] FEAT
[右] 211-Extended features supported:
[右] LANG EN*
[右] UTF8
[右] AUTH TLS;TLS-C;SSL;TLS-P;
[右] PBSZ
[右] PROT C;P;
[右] CCC
[右] HOST
[右] SIZE
[右] MDTM
[右] REST STREAM
[右] 211 END
[右] CWD /
[右] 250 CWD command successful.
[右] PWD
[右] 257 "/" is current directory.
[右] MKD 0000000000000000000
[右] 257 "0000000000000000000" directory created.
[右] PWD
[右] 257 "/" is current directory.
[右] TYPE A
[右] 200 Type set to A.
[右] PASV
[右] 连接丢失: 219.28.46.22
[右] 列表错误
[右] 正在连接到 219.28.46.22 -> IP=219.28.46.22 PORT=21
[右] 已连接到 219.28.46.22
[右] 220 Microsoft FTP Service
[右] USER webftp
[右] 331 Password required for webftp.
[右] PASS (隐藏)
[右] 230 User logged in.
[右] SYST
[右] 215 Windows_NT
[右] FEAT
[右] 211-Extended features supported:
[右] LANG EN*
[右] UTF8
[右] AUTH TLS;TLS-C;SSL;TLS-P;
[右] PBSZ
[右] PROT C;P;
[右] CCC
[右] HOST
[右] SIZE
[右] MDTM
[右] REST STREAM
[右] 211 END
[右] CWD /
[右] 250 CWD command successful.
[右] PWD
[右] 257 "/" is current directory.
[右] TYPE A
[右] 200 Type set to A.
[右] PASV
[右] 连接丢失: 219.28.46.22
[右] 列表错误
[右] 正在连接到 219.28.46.22 -> IP=219.28.46.22 PORT=21
[右] 已连接到 219.28.46.22
[右] 220 Microsoft FTP Service
[右] USER webftp
[右] 331 Password required for webftp.
[右] PASS (隐藏)
[右] 230 User logged in.
[右] SYST
[右] 215 Windows_NT
[右] FEAT
[右] 211-Extended features supported:
[右] LANG EN*
[右] UTF8
[右] AUTH TLS;TLS-C;SSL;TLS-P;
[右] PBSZ
[右] PROT C;P;
[右] CCC
[右] HOST
[右] SIZE
[右] MDTM
[右] REST STREAM
[右] 211 END
[右] CWD /
[右] 250 CWD command successful.
[右] PWD
[右] 257 "/" is current directory.
[右] PASV 模式失败, 尝试 PORT 模式。
[右] TYPE A
[右] 200 Type set to A.
[右] 监听端口: 61687, 等待连接。
[右] PORT 192,168,0,100,240,247
[右] 200 PORT command successful.
[右] LIST -al
[右] 125 Data connection already open; Transfer starting.
[右] 226 Transfer complete.
[右] 列表完成: 99 字节 于 0.19 秒 (0.5 KB/秒)
[右] PORT 模式成功, 请更新你的站点配置文件。
[右] 连接丢失: 219.28.46.22
[右] 正在连接到 219.28.46.22 -> IP=219.28.46.22 PORT=21
[右] 已连接到 219.28.46.22
[右] 220 Microsoft FTP Service
[右] USER webftp
[右] 331 Password required for webftp.
[右] PASS (隐藏)
[右] 230 User logged in.
[右] SYST
[右] 215 Windows_NT
[右] FEAT
[右] 211-Extended features supported:
[右] LANG EN*
[右] UTF8
[右] AUTH TLS;TLS-C;SSL;TLS-P;
[右] PBSZ
[右] PROT C;P;
[右] CCC
[右] HOST
[右] SIZE
[右] MDTM
[右] REST STREAM
[右] 211 END
[右] CWD /
[右] 250 CWD command successful.
[右] PWD
[右] 257 "/" is current directory.
[右] QUIT
[右] 221 Goodbye.
[右] 已注销: 219.28.46.22
[右] 正在连接到 219.28.46.22 -> IP=219.28.46.22 PORT=21
[右] 已连接到 219.28.46.22
[右] 220 Microsoft FTP Service
[右] USER webftp
[右] 331 Password required for webftp.
[右] PASS (隐藏)
[右] 230 User logged in.
[右] SYST
[右] 215 Windows_NT
[右] FEAT
[右] 211-Extended features supported:
[右] LANG EN*
[右] UTF8
[右] AUTH TLS;TLS-C;SSL;TLS-P;
[右] PBSZ
[右] PROT C;P;
[右] CCC
[右] HOST
[右] SIZE
[右] MDTM
[右] REST STREAM
[右] 211 END
[右] CWD /
[右] 250 CWD command successful.
[右] PWD
[右] 257 "/" is current directory.
[右] 连接丢失: 219.28.46.22