FTP 7 is not currently returning reply code conforming to RFC 2228. As a result, FTP clients cannot fallback to another protection level automatically.
When private data channel (PROT P) is required but the client has requested PROT C, FTP 7 returns 533-Policy requires SSL:
Command: PROT C
Response: 533-Policy requires SSL.
Response: Win32 error: Access is denied.
Response: Error details: SSL policy requires SSL for data channel.
Response: 533 End
When private data channel is denied and clear data channel (PROT C) is required but the client has requested PROT P, FTP 7 returns 536-Policy denies SSL:
Command: PROT P
Response: 536-Policy denies SSL.
Response: Win32 error: Access is denied.
Response: Error details: SSL policy denies SSL for data channel.
Response: 536 End
However, according to RFC 2228, 534 should be used instead:
If the server is not willing to accept the specified protection level, it should respond with reply code 534.
Without the 534 reply, FTP clients do not fallback to another protection level automatically and terminate the connection instead. This is very problematic and the reply code should be corrected.