I tried to use AndFTP to connect to an Windows CE 4.2-based embedded device running the FTP server that Microsoft provides but I get an empty directory listing. Other FTP clients work fine, including ftp.exe, Windows Explorer and FileZilla.
150 File status okay; about to open data connection.
10-05-09 02:13 <DIR> subdirectory
10-05-09 02:06 261120 file2.dat
10-05-09 02:06 96705 file1.dat
10-05-09 02:06 4702208 file3_with_quite_a_long_filename.dat
Also, the output of the SYST command on Windows Server is:
215 Windows_NT
Compared to Windows CE:
215 Windows_CE version 4.20.
I think it would be better if you could parse the listing in a way that just works for both, but if you do need to decode the listing differently based on the output of SYST then I suggest that you just check for the substring "Windows_CE" and ignore the version part.