Discuss this help topic in SecureBlackbox Forum

TSBSftpFileOpenMode

Declared in     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Defines possible file open modes.

Declaration

[C#/Java]
    TSBSftpFileOpenMode = short;
        const short fmRead = 0;
        const short fmWrite = 1;
        const short fmAppend = 2;
        const short sfmCreate = 3;
        const short fmTruncate = 4;
        const short fmExcl = 5;
        const short fmText = 6;
        const short fmOpenOrCreate = 7;
        const short fmAppendAtomic = 8;
        const short fmNoFollow = 9;
        const short fmDeleteOnClose = 10;

[VB.NET]
    TSBSftpFileOpenMode As Short
        Const fmRead As Short = 0
        Const fmWrite As Short = 1
        Const fmAppend As Short = 2
        Const sfmCreate As Short = 3
        Const fmTruncate As Short = 4
        Const fmExcl As Short = 5
        Const fmText As Short = 6
        Const fmOpenOrCreate As Short = 7
        Const fmAppendAtomic As Short = 8
        Const fmNoFollow As Short = 9
        Const fmDeleteOnClose As Short = 10

[Pascal]
    TSBSftpFileOpenMode = (fmRead, fmWrite, fmAppend, fmCreate, fmTruncate, fmExcl, fmText, fmOpenOrCreate, fmAppendAtomic, fmNoFollow, fmDeleteOnClose);

[C++]
    typedef uint8_t TSBSftpFileOpenModeRaw;
    typedef enum { fmRead = 0, fmWrite = 1, fmAppend = 2, sfmCreate = 3, fmTruncate = 4, fmExcl = 5, fmText = 6, fmOpenOrCreate = 7, fmAppendAtomic = 8, fmNoFollow = 9, fmDeleteOnClose = 10 } TSBSftpFileOpenMode;
    
    typedef uint32_t TSBSftpFileOpenModesRaw;
    typedef enum { f_fmRead = 1, f_fmWrite = 2, f_fmAppend = 4, f_sfmCreate = 8, f_fmTruncate = 16, f_fmExcl = 32, f_fmText = 64, f_fmOpenOrCreate = 128, f_fmAppendAtomic = 256, f_fmNoFollow = 512, f_fmDeleteOnClose = 1024 } TSBSftpFileOpenModes;

[PHP]
    class TSBSftpFileOpenMode extends TSBBaseEnum {
        const fmRead = 0;
        const fmWrite = 1;
        const fmAppend = 2;
        const sfmCreate = 3;
        const fmTruncate = 4;
        const fmExcl = 5;
        const fmText = 6;
        const fmOpenOrCreate = 7;
        const fmAppendAtomic = 8;
        const fmNoFollow = 9;
        const fmDeleteOnClose = 10;
    }

Possible values


Declared in

.NET:
  • Namespace: SBSftpCommon
  • Assembly: SecureBlackbox.SFTPCommon
VCL:
  • Unit: SBSFTPCommon
Java:
  • Package: SecureBlackbox.SFTPCommon.jar
C++:
  • sbsftpcommon.h

Discuss this help topic in SecureBlackbox Forum