Subject: | state advances too early (on nnn- cmd_input instead of waiting until "nnn ") |
your handler_cmd_input calls the coderef when "nnn- " case is hit, instead of waiting until "nnn ". For ftp servers which send multiple lines, this causes the command and response to get out of sync with each other.
Plese apply the patch I've included and roll a new version.
Message body not shown because it is not plain text.