//[ConnectBot SSH Library](../../../index.md)/[org.connectbot.sshlib](../index.md)/[SftpOpenFlag](index.md)

# SftpOpenFlag

[jvm]\
enum class [SftpOpenFlag](index.md) : [Enum](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-enum/index.html)&lt;[SftpOpenFlag](index.md)&gt; 

Flags for SFTP file open operations.

## Entries

| | |
|---|---|
| [READ](-r-e-a-d/index.md) | [jvm]<br>[READ](-r-e-a-d/index.md) |
| [WRITE](-w-r-i-t-e/index.md) | [jvm]<br>[WRITE](-w-r-i-t-e/index.md) |
| [APPEND](-a-p-p-e-n-d/index.md) | [jvm]<br>[APPEND](-a-p-p-e-n-d/index.md) |
| [CREATE](-c-r-e-a-t-e/index.md) | [jvm]<br>[CREATE](-c-r-e-a-t-e/index.md) |
| [TRUNCATE](-t-r-u-n-c-a-t-e/index.md) | [jvm]<br>[TRUNCATE](-t-r-u-n-c-a-t-e/index.md) |
| [EXCLUDE](-e-x-c-l-u-d-e/index.md) | [jvm]<br>[EXCLUDE](-e-x-c-l-u-d-e/index.md) |

## Companion properties

| Name | Summary |
|---|---|
| [entries](entries.md) | [jvm]<br>val [entries](entries.md): [EnumEntries](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.enums/-enum-entries/index.html)&lt;[SftpOpenFlag](index.md)&gt;<br>Returns an immutable [kotlin.enums.EnumEntries](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.enums/-enum-entries/index.html) list containing the constants of this enum type, in the order they're declared. |

## Companion functions

| Name | Summary |
|---|---|
| [valueOf](value-of.md) | [jvm]<br>fun [valueOf](value-of.md)(value: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)): [SftpOpenFlag](index.md)<br>Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) |
| [values](values.md) | [jvm]<br>fun [values](values.md)(): [Array](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html)&lt;[SftpOpenFlag](index.md)&gt;<br>Returns an array containing the constants of this enum type, in the order they're declared. |

## Properties

| Name | Summary |
|---|---|
| [name](../../org.connectbot.sshlib.transport/-ip-version/-i-p-v6_-o-n-l-y/index.md#-372974862%2FProperties%2F-1357994179) | [jvm]<br>val [name](../../org.connectbot.sshlib.transport/-ip-version/-i-p-v6_-o-n-l-y/index.md#-372974862%2FProperties%2F-1357994179): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [ordinal](../../org.connectbot.sshlib.transport/-ip-version/-i-p-v6_-o-n-l-y/index.md#-739389684%2FProperties%2F-1357994179) | [jvm]<br>val [ordinal](../../org.connectbot.sshlib.transport/-ip-version/-i-p-v6_-o-n-l-y/index.md#-739389684%2FProperties%2F-1357994179): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |
| [value](value.md) | [jvm]<br>val [value](value.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |