Status codes possibly returned by a FTP response
Constants
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
SystemStatus = 211
System status, or system help reply
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
LoggedIn = 230
User logged in, proceed. Logged out if appropriate
NeedPassword = 331
User name ok, need password
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
ParameterNotImplemented = 504
Command not implemented for that parameter
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 methods
bad_command_sequence?
Returns true if this enum value equals BadCommandSequence
Sourceclosing_connection?
Returns true if this enum value equals ClosingConnection
Sourceclosing_data_connection?
Returns true if this enum value equals ClosingDataConnection
Sourcecommand_not_implemented?
Returns true if this enum value equals CommandNotImplemented
Sourcecommand_unknown?
Returns true if this enum value equals CommandUnknown
Sourceconnection_closed?
Returns true if this enum value equals ConnectionClosed
Sourceconnection_failed?
Returns true if this enum value equals ConnectionFailed
Sourcedata_connection_already_opened?
Returns true if this enum value equals DataConnectionAlreadyOpened
Sourcedata_connection_opened?
Returns true if this enum value equals DataConnectionOpened
Sourcedata_connection_unavailable?
Returns true if this enum value equals DataConnectionUnavailable
Sourcedirectory_ok?
Returns true if this enum value equals DirectoryOk
Sourcedirectory_status?
Returns true if this enum value equals DirectoryStatus
Sourceentering_passive_mode?
Returns true if this enum value equals EnteringPassiveMode
Sourcefile_action_aborted?
Returns true if this enum value equals FileActionAborted
Sourcefile_action_ok?
Returns true if this enum value equals FileActionOk
Sourcefile_status?
Returns true if this enum value equals FileStatus
Sourcefile_unavailable?
Returns true if this enum value equals FileUnavailable
Sourcefilename_not_allowed?
Returns true if this enum value equals FilenameNotAllowed
Sourcehelp_message?
Returns true if this enum value equals HelpMessage
Sourceinsufficient_storage_space?
Returns true if this enum value equals InsufficientStorageSpace
Sourceinvalid_file?
Returns true if this enum value equals InvalidFile
Sourceinvalid_response?
Returns true if this enum value equals InvalidResponse
Sourcelocal_error?
Returns true if this enum value equals LocalError
Sourcelogged_in?
Returns true if this enum value equals LoggedIn
Sourceneed_account_to_log_in?
Returns true if this enum value equals NeedAccountToLogIn
Sourceneed_account_to_store?
Returns true if this enum value equals NeedAccountToStore
Sourceneed_password?
Returns true if this enum value equals NeedPassword
Sourcenot_enough_memory?
Returns true if this enum value equals NotEnoughMemory
Sourcenot_logged_in?
Returns true if this enum value equals NotLoggedIn
Sourceok?
Returns true if this enum value equals Ok
Sourceopening_data_connection?
Returns true if this enum value equals OpeningDataConnection
Sourcepage_type_unknown?
Returns true if this enum value equals PageTypeUnknown
Sourceparameter_not_implemented?
Returns true if this enum value equals ParameterNotImplemented
Sourceparameters_unknown?
Returns true if this enum value equals ParametersUnknown
Sourcepointless_command?
Returns true if this enum value equals PointlessCommand
Sourcerestart_marker_reply?
Returns true if this enum value equals RestartMarkerReply
Sourceservice_ready?
Returns true if this enum value equals ServiceReady
Sourceservice_ready_soon?
Returns true if this enum value equals ServiceReadySoon
Sourceservice_unavailable?
Returns true if this enum value equals ServiceUnavailable
Sourcesystem_status?
Returns true if this enum value equals SystemStatus
Sourcesystem_type?
Returns true if this enum value equals SystemType
Sourcetransfer_aborted?
Returns true if this enum value equals TransferAborted
Source