Share via


FtpStatusCode Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Specifies the status codes returned for a File Transfer Protocol (FTP) operation.

Namespace:  System.Net
Assembly:  System.Ftp (in System.Ftp.dll)

Syntax

'Declaration
Public Enumeration FtpStatusCode
public enum FtpStatusCode
public enum class FtpStatusCode
type FtpStatusCode
public enum FtpStatusCode

Members

Member name Description
Undefined Included for completeness, this value is never returned by servers.
OpeningData Specifies that the server is opening the data connection.
CommandOK Specifies that the command completed successfully.
FileStatus Specifies the status of a file.
ClosingData Specifies that the server is closing the data connection and that the requested file action was successful.
EnteringPassive Specifies that the server is entering passive mode.
FileActionOK Specifies that the requested file action completed successfully.
PathnameCreated Specifies that the requested path name was created.
SendPasswordCommand Specifies that the server expects a password to be supplied.
NeedLoginAccount Specifies that the server requires a login account to be supplied.
FileCommandPending Specifies that the requested file action requires additional information.
ActionAbortedLocalProcessingError Specifies that an error occurred that prevented the request action from completing.
ArgumentSyntaxError Specifies that one or more command arguments has a syntax error.
CommandNotImplemented Specifies that the command is not implemented by the FTP server.
BadCommandSequence Specifies that the sequence of commands is not in the correct order.
NotLoggedIn Specifies that login information must be sent to the server.
AccountNeeded Specifies that a user account on the server is required.
ActionNotTakenFileUnavailable Specifies that the requested action cannot be performed on the specified file because the file is not available.
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
FileActionAborted Specifies that the requested action cannot be performed.
ActionNotTakenFilenameNotAllowed Specifies that the requested action cannot be performed on the specified file.

Remarks

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

See Also

Reference

System.Net Namespace