FTP读取目录列表失败
状态:正在连接 182.50................
状态:连接建立,等待欢迎消息...
响应:220 Microsoft FTP Service
命令:USER XXXX
响应:331 Password required for XXXXX
命令:PASS **********
响应:230-FTP-SSL (AUTH TLS, Explicit FTPS or FTPES) security is available
响应: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
命令:OPTS UTF8 ON
响应:200 OPTS UTF8 command successful - UTF8 encoding now ON.
状态:已连接
状态:读取目录列表...
命令:PWD
响应:257 "/" is current directory.
命令:TYPE I
响应:200 Type set to I.
命令:PASV
响应:227 Entering Passive Mode (182,50,130,68,196,189).
命令:LIST
响应:150 Opening BINARY mode data connection.
响应:550 The network connection was aborted by the local system.
错误:读取目录列表失败
[解决办法]
你做的ftp服务器还是客户端,用WSAGetLastError看看的错误是什么的