Code:
quote pass ueserpass
I think the above is the command that triggers the error, since in some cases the pass command is the short form of passive, which toggles the passive mode transfer. I have not investigated this further, anyway you can offer the password by means of the user command, as in
Code:
user ftpuser userpass
without the command quote, otherwise it is not understood.