FtpCapability Enumeration

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
Server features

Namespace: System.Net.FtpClient
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461

Syntax

C#
[FlagsAttribute]
public enum FtpCapability
Visual Basic
<FlagsAttribute> 
Public Enumeration FtpCapability
Visual C++
[FlagsAttribute]
public enum class FtpCapability

Members

Member name Value Description
NONE 0 This server said it doesn't support anything!
MLSD 1 Supports the MLST command
SIZE 2 Supports the SIZE command
MDTM 4 Supports the MDTM command
REST 8 Supports download/upload stream resumes
UTF8 16 Supports UTF8
PRET 32 PRET Command used in distributed ftp server software DrFTPD
MFMT 64 Server supports the MFMT command for setting the modifid date of an object on the server
MFCT 128 Server supports the MFCT command for setting the created date of an object on the server
MFF 256 Server supports the MFF command for setting certain facts about file sytem objects. If you need this command, it would probably be handy to query FEAT your self and have a look at the FtpReply.InfoMessages property to see which facts the server allows you to modify.
STAT 512 Server supports the STAT command
HASH 1024 Support for the HASH command
MD5 2048 Support for the non-standard MD5 command
XMD5 4096 Support for the non-standard XMD5 command
XCRC 8192 Support for the non-standard XCRC command
XSHA1 16384 Support for the non-standard XSHA1 command
XSHA256 32768 Support for the non-standard XSHA256 command
XSHA512 65536 Support for the non-standard XSHA512 command

See Also