FTP

FTP 213 File Status vs 530 Not Logged In

FTP 213 (File Status) is a 2xx Positive Completion response, while 530 (Not Logged In) is a 5xx Permanent Negative response. 213 indicates that file status reply. The server provides information about a specific file, typically its size or modification time. In contrast, 530 means that not logged in. The user is not authenticated and must log in before the requested command can be executed.

Description

File status reply. The server provides information about a specific file, typically its size or modification time.

When You See It

After issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.

How to Fix

No fix needed — this is an informational response. Use the returned data to determine file size before download or to check timestamps for synchronization.

Description

Not logged in. The user is not authenticated and must log in before the requested command can be executed.

When You See It

When you try to access files or run commands before authenticating, or after providing incorrect login credentials.

How to Fix

Send USER and PASS commands with valid credentials. If login fails repeatedly, verify the username, password, and check if the account is locked.

Key Differences

1.

213 is a 2xx Positive Completion response, while 530 is a 5xx Permanent Negative response.

2.

FTP 213: File status reply. The server provides information about a specific file, typically its size or modification time.

3.

FTP 530: Not logged in. The user is not authenticated and must log in before the requested command can be executed.

4.

You encounter 213 when after issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.

5.

You encounter 530 when when you try to access files or run commands before authenticating, or after providing incorrect login credentials.

When to Use Which

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 530 (Not Logged In): Send USER and PASS commands with valid credentials. If login fails repeatedly, verify the username, password, and check if the account is locked.

Learn More