FTP 213 File Status vs 332 Need Account
FTP 213 (File Status) is a 2xx Positive Completion response, while 332 (Need Account) is a 3xx Positive Intermediate response. 213 indicates that file status reply. The server provides information about a specific file, typically its size or modification time. In contrast, 332 means that need account for login. The server requires an additional ACCT command to complete the login process, typically for account-based access control.
Descrição
File status reply. The server provides information about a specific file, typically its size or modification time.
Quando você o vê
After issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.
Como corrigir
No fix needed — this is an informational response. Use the returned data to determine file size before download or to check timestamps for synchronization.
Descrição
Need account for login. The server requires an additional ACCT command to complete the login process, typically for account-based access control.
Quando você o vê
After sending USER and PASS when the server requires an additional account identifier before granting access.
Como corrigir
Send the ACCT command with the appropriate account name. If you do not have an account identifier, contact the server administrator.
Diferenças principais
213 is a 2xx Positive Completion response, while 332 is a 3xx Positive Intermediate response.
FTP 213: File status reply. The server provides information about a specific file, typically its size or modification time.
FTP 332: Need account for login. The server requires an additional ACCT command to complete the login process, typically for account-based access control.
You encounter 213 when after issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.
You encounter 332 when after sending USER and PASS when the server requires an additional account identifier before granting access.
Quando usar qual
For 213 (File Status): No fix needed — this is an informational response. Use the returned data to determine file size before download or to check timestamps for synchronization. For 332 (Need Account): Send the ACCT command with the appropriate account name. If you do not have an account identifier, contact the server administrator.