enum SF::Ftp::Response::Status

Overview

Status codes possibly returned by a FTP response

Defined in:

network/obj.cr

Enum Members

RestartMarkerReply = 110

Restart marker reply

ServiceReadySoon = 120

Service ready in N minutes

DataConnectionAlreadyOpened = 125

Data connection already opened, transfer starting

OpeningDataConnection = 150

File status ok, about to open data connection

Ok = 200

Command ok

PointlessCommand = 202

Command not implemented

SystemStatus = 211

System status, or system help reply

DirectoryStatus = 212

Directory status

FileStatus = 213

File status

HelpMessage = 214

Help message

SystemType = 215

NAME system type, where NAME is an official system name from the list in the Assigned Numbers document

ServiceReady = 220

Service ready for new user

ClosingConnection = 221

Service closing control connection

DataConnectionOpened = 225

Data connection open, no transfer in progress

ClosingDataConnection = 226

Closing data connection, requested file action successful

EnteringPassiveMode = 227

Entering passive mode

LoggedIn = 230

User logged in, proceed. Logged out if appropriate

FileActionOk = 250

Requested file action ok

DirectoryOk = 257

PATHNAME created

NeedPassword = 331

User name ok, need password

NeedAccountToLogIn = 332

Need account for login

NeedInformation = 350

Requested file action pending further information

ServiceUnavailable = 421

Service not available, closing control connection

DataConnectionUnavailable = 425

Can't open data connection

TransferAborted = 426

Connection closed, transfer aborted

FileActionAborted = 450

Requested file action not taken

LocalError = 451

Requested action aborted, local error in processing

InsufficientStorageSpace = 452

Requested action not taken; insufficient storage space in system, file unavailable

CommandUnknown = 500

Syntax error, command unrecognized

ParametersUnknown = 501

Syntax error in parameters or arguments

CommandNotImplemented = 502

Command not implemented

BadCommandSequence = 503

Bad sequence of commands

ParameterNotImplemented = 504

Command not implemented for that parameter

NotLoggedIn = 530

Not logged in

NeedAccountToStore = 532

Need account for storing files

FileUnavailable = 550

Requested action not taken, file unavailable

PageTypeUnknown = 551

Requested action aborted, page type unknown

NotEnoughMemory = 552

Requested file action aborted, exceeded storage allocation

FilenameNotAllowed = 553

Requested action not taken, file name not allowed

InvalidResponse = 1000

Not part of the FTP standard, generated by SFML when a received response cannot be parsed

ConnectionFailed = 1001

Not part of the FTP standard, generated by SFML when the low-level socket connection with the server fails

ConnectionClosed = 1002

Not part of the FTP standard, generated by SFML when the low-level socket connection is unexpectedly closed

InvalidFile = 1003

Not part of the FTP standard, generated by SFML when a local file cannot be read or written

Instance Method Summary

Instance Method Detail

def bad_command_sequence? #

[View source]
def closing_connection? #

[View source]
def closing_data_connection? #

[View source]
def command_not_implemented? #

[View source]
def command_unknown? #

[View source]
def connection_closed? #

[View source]
def connection_failed? #

[View source]
def data_connection_already_opened? #

[View source]
def data_connection_opened? #

[View source]
def data_connection_unavailable? #

[View source]
def directory_ok? #

[View source]
def directory_status? #

[View source]
def entering_passive_mode? #

[View source]
def file_action_aborted? #

[View source]
def file_action_ok? #

[View source]
def file_status? #

[View source]
def file_unavailable? #

[View source]
def filename_not_allowed? #

[View source]
def help_message? #

[View source]
def insufficient_storage_space? #

[View source]
def invalid_file? #

[View source]
def invalid_response? #

[View source]
def local_error? #

[View source]
def logged_in? #

[View source]
def need_account_to_log_in? #

[View source]
def need_account_to_store? #

[View source]
def need_information? #

[View source]
def need_password? #

[View source]
def not_enough_memory? #

[View source]
def not_logged_in? #

[View source]
def ok? #

[View source]
def opening_data_connection? #

[View source]
def page_type_unknown? #

[View source]
def parameter_not_implemented? #

[View source]
def parameters_unknown? #

[View source]
def pointless_command? #

[View source]
def restart_marker_reply? #

[View source]
def service_ready? #

[View source]
def service_ready_soon? #

[View source]
def service_unavailable? #

[View source]
def system_status? #

[View source]
def system_type? #

[View source]
def transfer_aborted? #

[View source]