Module: SFML::FtpStatus
- Defined in:
- ext/network/network_enums.c,
ext/network/network_enums.c
Overview
Status codes returned by an FtpResponse, mirroring standard FTP reply codes with a few SFML-specific additions (1000+) for local connection failures.
Constant Summary collapse
- RESTART_MARKER_REPLY =
restart marker reply.
110- SERVICE_READY_SOON =
service ready in N minutes.
120- DATA_CONNECTION_ALREADY_OPENED =
data connection already opened, transfer starting.
125- OPENING_DATA_CONNECTION =
file status ok, about to open data connection.
150- OK =
command ok.
200- POINTLESS_COMMAND =
command not implemented.
202- SYSTEM_STATUS =
system status, or system help reply.
211- DIRECTORY_STATUS =
directory status.
212- FILE_STATUS =
file status.
213- HELP_MESSAGE =
help message.
214- SYSTEM_TYPE =
NAME system type, where NAME is an official system name from the Assigned Numbers document.
215- SERVICE_READY =
service ready for a new user.
220- CLOSING_CONNECTION =
service closing the control connection.
221- DATA_CONNECTION_OPENED =
data connection open, no transfer in progress.
225- CLOSING_DATA_CONNECTION =
closing data connection, requested file action successful.
226- ENTERING_PASSIVE_MODE =
entering passive mode.
227- LOGGED_IN =
user logged in, proceed (logged out if appropriate).
230- FILE_ACTION_OK =
requested file action ok.
250- DIRECTORY_OK =
PATHNAME created.
257- NEED_PASSWORD =
user name ok, password needed.
331- NEED_ACCOUNT_TO_LOG_IN =
account needed for login.
332- NEED_INFORMATION =
requested file action pending further information.
350- SERVICE_UNAVAILABLE =
service not available, closing the control connection.
421- DATA_CONNECTION_UNAVAILABLE =
can't open the data connection.
425- TRANSFER_ABORTED =
connection closed, transfer aborted.
426- FILE_ACTION_ABORTED =
requested file action not taken.
450- LOCAL_ERROR =
requested action aborted, local error in processing.
451- INSUFFICIENT_STORAGE_SPACE =
requested action not taken; insufficient storage space in system, file unavailable.
452- COMMAND_UNKNOWN =
syntax error, command unrecognized.
500- PARAMETERS_UNKNOWN =
syntax error in parameters or arguments.
501- COMMAND_NOT_IMPLEMENTED =
command not implemented.
502- BAD_COMMAND_SEQUENCE =
bad sequence of commands.
503- PARAMETER_NOT_IMPLEMENTED =
command not implemented for that parameter.
504- NOT_LOGGED_IN =
not logged in.
530- NEED_ACCOUNT_TO_STORE =
account needed for storing files.
532- FILE_UNAVAILABLE =
requested action not taken, file unavailable.
550- PAGE_TYPE_UNKNOWN =
requested action aborted, page type unknown.
551- NOT_ENOUGH_MEMORY =
requested file action aborted, exceeded storage allocation.
552- FILENAME_NOT_ALLOWED =
requested action not taken, file name not allowed.
553- INVALID_RESPONSE =
the response is not a valid FTP one.
1000 (SFML-specific)
- CONNECTION_FAILED =
the connection with the server failed.
1001 (SFML-specific)
- CONNECTION_CLOSED =
the connection with the server closed.
1002 (SFML-specific)
- INVALID_FILE =
invalid file for upload/download.
1003 (SFML-specific)