public class

AttribFlags

extends Object
java.lang.Object
   ↳ com.trilead.ssh2.sftp.AttribFlags

Class Overview

Attribute Flags. The 'valid-attribute-flags' field in the SFTP ATTRS data type specifies which of the fields are actually present.

Summary

Constants
int SSH_FILEXFER_ATTR_ACCESSTIME Indicates that the 'atime' field is present.
int SSH_FILEXFER_ATTR_ACL Indicates that the 'acl' field is present.
int SSH_FILEXFER_ATTR_ALLOCATION_SIZE Indicates that the 'allocation-size' field is present.
int SSH_FILEXFER_ATTR_BITS Indicates that the 'attrib-bits' and 'attrib-bits-valid' fields are present.
int SSH_FILEXFER_ATTR_CREATETIME Indicates that the 'createtime' field is present.
int SSH_FILEXFER_ATTR_CTIME Indicates that the 'ctime' field is present.
int SSH_FILEXFER_ATTR_EXTENDED Indicates that the 'extended-count' field (and probablby some 'extensions') is present.
int SSH_FILEXFER_ATTR_LINK_COUNT Indicates that the 'link-count' field is present.
int SSH_FILEXFER_ATTR_MIME_TYPE Indicates that the 'mime-type' field is present.
int SSH_FILEXFER_ATTR_MODIFYTIME Indicates that the 'mtime' field is present.
int SSH_FILEXFER_ATTR_OWNERGROUP Indicates that the 'owner' and 'group' fields are present.
int SSH_FILEXFER_ATTR_PERMISSIONS Indicates that the 'permissions' field is present.
int SSH_FILEXFER_ATTR_SIZE Indicates that the 'allocation-size' field is present.
int SSH_FILEXFER_ATTR_SUBSECOND_TIMES Indicates that additionally to the 'atime', 'createtime', 'mtime' and 'ctime' fields (if present), there is also 'atime-nseconds', 'createtime-nseconds', 'mtime-nseconds' and 'ctime-nseconds'.
int SSH_FILEXFER_ATTR_TEXT_HINT Indicates that the 'text-hint' field is present.
int SSH_FILEXFER_ATTR_UNTRANSLATED_NAME Indicates that the 'untranslated-name' field is present.
int SSH_FILEXFER_ATTR_V3_ACMODTIME Indicates that the 'atime' and 'mtime' field are present (protocol v3).
int SSH_FILEXFER_ATTR_V3_UIDGID Protocol version 6: 0x00000002 was used in a previous version of this protocol.
Public Constructors
AttribFlags()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int SSH_FILEXFER_ATTR_ACCESSTIME

Indicates that the 'atime' field is present.

Constant Value: 8 (0x00000008)

public static final int SSH_FILEXFER_ATTR_ACL

Indicates that the 'acl' field is present.

Constant Value: 64 (0x00000040)

public static final int SSH_FILEXFER_ATTR_ALLOCATION_SIZE

Indicates that the 'allocation-size' field is present.

Constant Value: 1024 (0x00000400)

public static final int SSH_FILEXFER_ATTR_BITS

Indicates that the 'attrib-bits' and 'attrib-bits-valid' fields are present.

Constant Value: 512 (0x00000200)

public static final int SSH_FILEXFER_ATTR_CREATETIME

Indicates that the 'createtime' field is present.

Constant Value: 16 (0x00000010)

public static final int SSH_FILEXFER_ATTR_CTIME

Indicates that the 'ctime' field is present.

Constant Value: 32768 (0x00008000)

public static final int SSH_FILEXFER_ATTR_EXTENDED

Indicates that the 'extended-count' field (and probablby some 'extensions') is present.

Constant Value: -2147483648 (0x80000000)

public static final int SSH_FILEXFER_ATTR_LINK_COUNT

Indicates that the 'link-count' field is present.

Constant Value: 8192 (0x00002000)

public static final int SSH_FILEXFER_ATTR_MIME_TYPE

Indicates that the 'mime-type' field is present.

Constant Value: 4096 (0x00001000)

public static final int SSH_FILEXFER_ATTR_MODIFYTIME

Indicates that the 'mtime' field is present.

Constant Value: 32 (0x00000020)

public static final int SSH_FILEXFER_ATTR_OWNERGROUP

Indicates that the 'owner' and 'group' fields are present.

Constant Value: 128 (0x00000080)

public static final int SSH_FILEXFER_ATTR_PERMISSIONS

Indicates that the 'permissions' field is present.

Constant Value: 4 (0x00000004)

public static final int SSH_FILEXFER_ATTR_SIZE

Indicates that the 'allocation-size' field is present.

Constant Value: 1 (0x00000001)

public static final int SSH_FILEXFER_ATTR_SUBSECOND_TIMES

Indicates that additionally to the 'atime', 'createtime', 'mtime' and 'ctime' fields (if present), there is also 'atime-nseconds', 'createtime-nseconds', 'mtime-nseconds' and 'ctime-nseconds'.

Constant Value: 256 (0x00000100)

public static final int SSH_FILEXFER_ATTR_TEXT_HINT

Indicates that the 'text-hint' field is present.

Constant Value: 2048 (0x00000800)

public static final int SSH_FILEXFER_ATTR_UNTRANSLATED_NAME

Indicates that the 'untranslated-name' field is present.

Constant Value: 16384 (0x00004000)

public static final int SSH_FILEXFER_ATTR_V3_ACMODTIME

Indicates that the 'atime' and 'mtime' field are present (protocol v3).

Constant Value: 8 (0x00000008)

public static final int SSH_FILEXFER_ATTR_V3_UIDGID

Protocol version 6: 0x00000002 was used in a previous version of this protocol. It is now a reserved value and MUST NOT appear in the mask. Some future version of this protocol may reuse this value.

Constant Value: 2 (0x00000002)

Public Constructors

public AttribFlags ()