我正在开发一个应用程序,我需要使用 wifi 从/向 FTP 服务器传输文件。调试时,用 USB 电缆连接到 Eclipse,应用程序工作......但是,当我处于独立模式时,不使用 Eclipse IDE,传输不会发生。FTP 服务器是本地的,我可以看到正在建立的连接......并且卡在文件传输中
(000056)15/01/2013 16:42:20 - (not logged in) (192.168.1.113)> Connected, sending welcome message...
(000056)15/01/2013 16:42:20 - (not logged in) (192.168.1.113)> 220-FileZilla Server version 0.9.41 beta
(000056)15/01/2013 16:42:20 - (not logged in) (192.168.1.113)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000056)15/01/2013 16:42:20 - (not logged in) (192.168.1.113)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000056)15/01/2013 16:42:20 - (not logged in) (192.168.1.113)> PASV
(000056)15/01/2013 16:42:20 - (not logged in) (192.168.1.113)> 530 Please log in with USER and PASS first.
(000056)15/01/2013 16:42:20 - (not logged in) (192.168.1.113)> USER th38939
(000056)15/01/2013 16:42:20 - (not logged in) (192.168.1.113)> 331 Password required for th38939
(000056)15/01/2013 16:42:20 - (not logged in) (192.168.1.113)> PASS ***********
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> 230 Logged on
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> TYPE I
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> 200 Type set to I
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> CWD /public_ftp/cobradores/cobrador_01/remessa/
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> 250 CWD successful. "/public_ftp/cobradores/cobrador_01/remessa" is current directory.
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> PWD
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> 257 "/public_ftp/cobradores/cobrador_01/remessa" is current directory.
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> PORT 192,168,1,113,202,216
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> 200 Port command successful
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> NLST
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> 150 Opening data channel for directory list.
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> 226 Transfer OK
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> PORT 192,168,1,113,133,181
(000056)15/01/2013 16:42:20 - th38939 (192.168.1.113)> 200 Port command successful
(000056)15/01/2013 16:42:21 - th38939 (192.168.1.113)> RETR ARQUIVO_TESTE.REM
(000056)15/01/2013 16:42:21 - th38939 (192.168.1.113)> 150 Opening data channel for file transfer.
(000056)15/01/2013 16:42:21 - th38939 (192.168.1.113)> 226 Transfer OK
(000056)15/01/2013 16:44:21 - th38939 (192.168.1.113)> 421 Connection timed out.
(000056)15/01/2013 16:44:21 - th38939 (192.168.1.113)> disconnected.
有什么线索吗?