502: PORT command syntax error - insufficient digits in host-port

Explanation

The PORT command was issued by the client. The PORT command should have the syntax PORT h1,h2,h3,h4,p1,p2 where h1—h4 are the 4 integers that make up the host address and p1 and p2 are the 2 integers that make up the port address. When parsing the PORT command, the FTP server did not find a total of 6 integer values to make up the host address and port address.

System action

The command is rejected. Control is returned to the client for further command processing.

User response

If the command was issued by the user, reissue the command with the correct syntax. If the command was issued automatically by the FTP client program, contact the owner of the FTP client program for a possible programming error in the client program.

System programmer response

None.