FTP 120 Service Ready Soon vs 503 Bad Sequence
FTP 120 (Service Ready Soon) is a 1xx Positive Preliminary response, while 503 (Bad Sequence) is a 5xx Permanent Negative response. 120 indicates that the service will be ready in a certain number of minutes. The server is not yet available but expects to be shortly. In contrast, 503 means that bad sequence of commands. The command is valid but was sent in the wrong order relative to other commands.
설명
The service will be ready in a certain number of minutes. The server is not yet available but expects to be shortly.
이 코드를 보게 되는 경우
When connecting to an FTP server that is starting up or temporarily busy with maintenance tasks.
해결 방법
Wait the indicated number of minutes and try connecting again. If the server never becomes ready, contact the server administrator.
설명
Bad sequence of commands. The command is valid but was sent in the wrong order relative to other commands.
이 코드를 보게 되는 경우
When you skip a required step, like sending PASS before USER, or RNTO without first sending RNFR.
해결 방법
Follow the correct command sequence. Common sequences: USER then PASS for login, RNFR then RNTO for rename, PASV then RETR for transfer.
주요 차이점
120 is a 1xx Positive Preliminary response, while 503 is a 5xx Permanent Negative response.
FTP 120: The service will be ready in a certain number of minutes. The server is not yet available but expects to be shortly.
FTP 503: Bad sequence of commands. The command is valid but was sent in the wrong order relative to other commands.
You encounter 120 when when connecting to an FTP server that is starting up or temporarily busy with maintenance tasks.
You encounter 503 when when you skip a required step, like sending PASS before USER, or RNTO without first sending RNFR.
언제 어떤 것을 사용할지
For 120 (Service Ready Soon): Wait the indicated number of minutes and try connecting again. If the server never becomes ready, contact the server administrator. For 503 (Bad Sequence): Follow the correct command sequence. Common sequences: USER then PASS for login, RNFR then RNTO for rename, PASV then RETR for transfer.