| Summary: | [ftpd] "ls" time out on WIN7 cmd line ftp client | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | reddy_quan |
| Component: | Networking | Assignee: | unassigned |
| Status: | RESOLVED INVALID | ||
| Severity: | minor | CC: | busybox-cvs, reddy_quan |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
reddy_quan
2015-01-27 04:10:12 UTC
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. |