Hi, I compile the new busybox 1.23.0 on an unbutu 12.04-x86_64 and runs it on that machine, then I login via a WIN7 cmd line ftp client. After I login, I run "ls" command, it first returns a "200 Operation successful", but then get stucked. Here is the client out: E:\test\ADB>ftp 172.16.1.177 连接到 172.16.1.177。 220 Operation successful 用户(172.16.1.177:(none)): 230 Operation successful ftp> ftp> ls 200 Operation successful 421 Timeout ftp> ftp> ftp> ftp>
The client log: E:\test\ADB>ftp 172.16.1.177 连接到 172.16.1.177。 220 Operation successful 用户(172.16.1.177:(none)): 230 Operation successful ftp> ftp> ftp> ftp> ftp> ls 200 Operation successful 远程主机关闭连接。 ftp> ftp> The server log: root@test:/home/reddy/test/busybox-1.23.0.a# ./busybox tcpsvd -vE 0.0.0.0 21 ./busybox ftpd -t60000 -T600000 -v -w /home/reddy tcpsvd: listening on 0.0.0.0:21, starting tcpsvd: start 5119 172.16.1.177:21-172.16.1.31:1682 tcpsvd: status 1/30 ftpd[5119]: can't connect to remote host (172.16.1.31): Connection timed out tcpsvd: end 5119 exit 1 tcpsvd: status 0/30
It's likely because of a NAS firewall making impossible reverse connection for data. Use PASV command, so that the _client_ connects to server.