Subject: | Net::FTP can't determine if SIZE supported when HELP command not supported |
When doing a size() against a Cerberus FTP Server, it doesn't use the SIZE command. Net::FTP thinks SIZE is not supported since HELP SIZE fails. This FTP server seems to not support the HELP command. This isn't a critical error since the fallback to directory listing does work.
Show quoted text
>>> HELP SIZE
<<< 502 Unrecognized or unsupported command
The SIZE command is supported by the FTP server:
---> SIZE empty
213 0
Also, the FTP server does support the FEAT command and lists SIZE as one of the extensions:
---> feat
211- Additional features supported include:
211- MDTM
211- SIZE
211- REST STREAM
211- UTF8
211- LANG EN*
211
Ideally, Net::FTP would use FEAT is available to list the supported extensions.