As I am continuing to test on various servers, trying to reproduce a "denied" error - I discovered another parsing bug at
ftp://ftp.sun.com
The root list shows:
total 122
-rw-r--r-- 1 other 855 Nov 15 10:19 .message
lrwxrwxrwx 1 other 22 Nov 15 10:22 DIRECTORY -> Directory_FTP_11_04_04
-rw-r--r-- 1 131 3400 Nov 15 10:22 Directory_FTP_11_04_04
-r--r--r-- 1 131 6197 Aug 31 19:16 FTP_license_agreement_readme
-rw-r--r-- 1 other 1165 Aug 31 19:24 OLD_.message
lrwxrwxrwx 1 other 28 Aug 31 19:18 README -> FTP_license_agreement_readme
lrwxrwxrwx 1 other 20 Apr 24 2004 all_signed -> patchroot/all_signed
lrwxrwxrwx 1 other 22 Apr 24 2004 all_unsigned -> patchroot/all_unsigned
lrwxrwxrwx 1 other 7 Apr 24 2004 bin -> usr/bin
lrwxrwxrwx 1 other 12 Oct 12 19:11 cores -> public/cores
dr-xr-x--x 2 131 512 Oct 23 2002 dev
lrwxrwxrwx 1 other 16 Oct 12 19:11 downloads -> public/downloads
dr-xr-x--x 4 131 512 Oct 23 2002 etc
lrwxrwxrwx 1 other 19 Oct 12 19:11 europe-cores -> public/europe-cores
lrwxrwxrwx 1 other 21 Oct 27 16:45 iplanetcores -> ./public/iplanetcores
lrwxrwxrwx 1 other 25 Oct 27 16:46 iplanetdownloads -> ./public/iplanetdownloads
-r--r--r-- 1 131 1165 Aug 31 19:19 off_Directory_FTP_8_20_04
drwxr-xr-x 21 130 4096 Nov 12 17:40 patchroot
drwxr-xr-x 11 130 4096 Oct 27 16:43 public
d--x--x--x 5 other 512 Oct 23 2002 usr
Notice the third entry?
lrwxrwxrwx 1 other 22 Nov 15 10:22 DIRECTORY -> Directory_FTP_11_04_04
It is a link, but the "fields.length > MIN_FIELD_COUNT", so it tries to parse out the linkCount, which then screws with the later value parsing. So that when it gets to size, it attempts to parse "Nov" as the size.
Haven't thought of a fix yet (I'm not an FTP wiz).