In The Hand - .NET Components for Mobility
FtpStatusCode Enumeration
NamespacesInTheHand.NetFtpStatusCode
Specifies the status codes returned for a File Transfer Protocol (FTP) operation.
Declaration Syntax
C#Visual Basic
public enum FtpStatusCode
Public Enumeration FtpStatusCode
Members
MemberDescription
AccountNeeded
Specifies that a user account on the server is required.

ActionAbortedLocalProcessingError
Specifies that an error occurred that prevented the request action from completing.

ActionAbortedUnknownPageType
Specifies that the requested action cannot be taken because the specified page type is unknown. Page types are described in RFC 959 Section 3.1.2.3

ActionNotTakenFilenameNotAllowed
Specifies that the requested action cannot be performed on the specified file.

ActionNotTakenFileUnavailable
Specifies that the requested action cannot be performed on the specified file because the file is not available.

ActionNotTakenFileUnavailableOrBusy
Specifies that the requested action cannot be performed on the specified file because the file is not available or is being used.

ActionNotTakenInsufficientSpace
Specifies that the requested action cannot be performed because there is not enough space on the server.

ArgumentSyntaxError
Specifies that one or more command arguments has a syntax error.

BadCommandSequence
Specifies that the sequence of commands is not in the correct order.

CantOpenData
Specifies that the data connection cannot be opened.

ClosingControl
Specifies that the server is closing the control connection.

ClosingData
Specifies that the server is closing the data connection and that the requested file action was successful.

CommandExtraneous
Specifies that the command is not implemented by the server because it is not needed.

CommandNotImplemented
Specifies that the command is not implemented by the FTP server.

CommandOK
Specifies that the command completed successfully.

CommandSyntaxError
Specifies that the command has a syntax error or is not a command recognized by the server.

ConnectionClosed
Specifies that the connection has been closed.

DataAlreadyOpen
Specifies that the data connection is already open and the requested transfer is starting.

DirectoryStatus
Specifies the status of a directory.

EnteringPassive
Specifies that the server is entering passive mode.

FileActionAborted
Specifies that the requested action cannot be performed.

FileActionOK
Specifies that the requested file action completed successfully.

FileCommandPending
Specifies that the requested file action requires additional information.

FileStatus
Specifies the status of a file.

LoggedInProceed
Specifies that the user is logged in and can send commands.

NeedLoginAccount
Specifies that the server requires a login account to be supplied.

NotLoggedIn
Specifies that login information must be sent to the server.

OpeningData
Specifies that the server is opening the data connection.

PathnameCreated
Specifies that the requested path name was created.

RestartMarker
Specifies that the response contains a restart marker reply. The text of the description that accompanies this status contains the user data stream marker and the server marker.

SendPasswordCommand
Specifies that the server expects a password to be supplied.

SendUserCommand
Specifies that the server is ready for a user login operation.

ServerWantsSecureSession
Specifies that the server accepts the authentication mechanism specified by the client, and the exchange of security data is complete.

ServiceNotAvailable
Specifies that the service is not available.

ServiceTemporarilyNotAvailable
Specifies that the service is not available now; try your request later.

SystemType
Specifies the system type name using the system names published in the Assigned Numbers document published by the Internet Assigned Numbers Authority.

Undefined
Included for completeness, this value is never returned by servers.

Remarks
The FtpStatusCode enumeration defines the values returned in the StatusCode property.

For additional information about FTP server status codes, see RFC 959, "File Transfer Protocol," Section 4.2, "FTP Replies," available at http://www.rfc-editor.org.

See Also
[!:System.Net.FtpStatusCode]

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 2.1.0.0