FTP Quote command is used to execute commands directly on the FTP server.
Generally we use the FTP quote command for such commands which are not present on the FTP client and we want to execute the command directly on the server.
So, the sub command which you will be passing inside the quote will be executed directly on the FTP server.
the 500 error , command not recogniized means the command you are passing in quote has not been directly present on the FTP server.
You can try this using windows default FTP client . login into the FTP server using windows FTP client.
with “help” you will get the list of commands present on the FTP client.
You can use “remotehelp” command to see the list of commands present on the server. Then you can try any of the commands listed by the remotehelp , with the FTP Quote command.