If I use Filezilla ftp client or a web browser it all works well with both FTP servers.
If I send a PASV command and then a LIST command the program freezes for a few minutes and then returns an error "Read timed out"
The Neobook FTP Client.pub also suffers the same problem, so now I know it is not my code.
Here is the log.
Code: Select all
Program started
FTP Import Completed Connecting to 192.168.1.150.
Connected.
<<- 220 Welcome
->> USER test
<<- 331 Please specify the password.
->> PASS **********
<<- 230 Login successful.
->> FEAT
<<- 211-Features:
<<- EPRT
<<- EPSV
<<- MDTM
<<- PASV
<<- REST STREAM
<<- SIZE
<<- TVFS
<<- UTF8
<<- 211 End
->> TYPE A
<<- 200 Switching to ASCII mode.
Starting FTP transfer
->> PASV
<<- 227 Entering Passive Mode (192 168 1 150 88 45).
->> LIST
<<- 150 Here comes the directory listing.
Transfer complete
<<- 226 Directory send OK.
->> PWD
<<- 257 "/home/test"
->> PWD
<<- 257 "/home/test"
->> CWD /
<<- 250 Directory successfully changed.
Starting FTP transfer
->> PASV
<<- 227 Entering Passive Mode (192 168 1 150 163 47).
->> LIST -a
<<- 150 Here comes the directory listing.
Transfer complete
<<- 226 Directory send OK.
->> PWD
<<- 257 "/"
->> CWD /
<<- 250 Directory successfully changed.
Starting FTP transfer
->> PASV
<<- 227 Entering Passive Mode (192 168 1 150 243 54).
->> LIST -a
<<- 150 Here comes the directory listing.
Transfer complete
<<- 226 Directory send OK.
->> CWD /
<<- 250 Directory successfully changed.
Starting FTP transfer
->> PASV
<<- 227 Entering Passive Mode (192 168 1 150 161 173).
->> LIST -a
<<- 150 Here comes the directory listing.
Transfer complete
Thanks
Dave J