FTP

FTP 150 File Status OK vs 532 Need Account for Storing

FTP 150 (File Status OK) is a 1xx Positive Preliminary response, while 532 (Need Account for Storing) is a 5xx Permanent Negative response. 150 indicates that the file status is okay and the server is about to open the data connection for the transfer. This is the normal precursor to a file transfer. In contrast, 532 means that need account for storing files. The server requires an ACCT command before it will allow file uploads, even though the user is logged in.

説明

The file status is okay and the server is about to open the data connection for the transfer. This is the normal precursor to a file transfer.

このコードが表示される場合

Right before a file download or upload begins, confirming the file is accessible and the data channel is being opened.

解決方法

No fix needed — this means the transfer is about to start. If the transfer stalls after this reply, check firewall rules blocking the data connection.

説明

Need account for storing files. The server requires an ACCT command before it will allow file uploads, even though the user is logged in.

このコードが表示される場合

When attempting to upload a file on a server that requires account-level authorization for write operations.

解決方法

Send the ACCT command with the appropriate account identifier before attempting to upload. Contact the administrator if you lack the account details.

主な違い

1.

150 is a 1xx Positive Preliminary response, while 532 is a 5xx Permanent Negative response.

2.

FTP 150: The file status is okay and the server is about to open the data connection for the transfer. This is the normal precursor to a file transfer.

3.

FTP 532: Need account for storing files. The server requires an ACCT command before it will allow file uploads, even though the user is logged in.

4.

You encounter 150 when right before a file download or upload begins, confirming the file is accessible and the data channel is being opened.

5.

You encounter 532 when when attempting to upload a file on a server that requires account-level authorization for write operations.

どちらをいつ使うか

For 150 (File Status OK): No fix needed — this means the transfer is about to start. If the transfer stalls after this reply, check firewall rules blocking the data connection. For 532 (Need Account for Storing): Send the ACCT command with the appropriate account identifier before attempting to upload. Contact the administrator if you lack the account details.

詳しく見る