FTP 213 File Status vs 221 Closing Control Connection
Both FTP 213 (File Status) and 221 (Closing Control Connection) belong to the 2xx Positive Completion category. 213 indicates that file status reply. The server provides information about a specific file, typically its size or modification time. Meanwhile, 221 means that service closing control connection. The server is logging out and closing the session in response to a QUIT command.
विवरण
File status reply. The server provides information about a specific file, typically its size or modification time.
जब आप इसे देखें
After issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.
कैसे ठीक करें
No fix needed — this is an informational response. Use the returned data to determine file size before download or to check timestamps for synchronization.
विवरण
Service closing control connection. The server is logging out and closing the session in response to a QUIT command.
जब आप इसे देखें
After issuing the QUIT command to gracefully disconnect from the FTP server.
कैसे ठीक करें
No fix needed — the session has ended normally. Reconnect with a new session if needed.
मुख्य अंतर
FTP 213: File status reply. The server provides information about a specific file, typically its size or modification time.
FTP 221: Service closing control connection. The server is logging out and closing the session in response to a QUIT command.
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 221 when after issuing the QUIT command to gracefully disconnect from the FTP server.
कब किसका उपयोग करें
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 221 (Closing Control Connection): No fix needed — the session has ended normally. Reconnect with a new session if needed.