When I use ftp.getlist I get 1681 items but using FileZilla I can see 1,704.
If I use ftp.getrawlist I can see the missing files but they appear in a slightly different format.
It looks like it is not detecting the carriage return after the filename.