Discuss this help topic in SecureBlackbox Forum

TSBSftpFileOpenMode

Declared in     


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


Defines possible file open modes.

Declaration

[C#/Java]
    TSBSftpFileOpenMode = int;
        const short fmRead = 1;
        const short fmWrite = 2;
        const short fmAppend = 4;
        const short fmCreate = 8;
        const short fmTruncate = 16;
        const short fmExcl = 32;
        const short fmText = 64;
        const short fmOpenOrCreate = 128;
        const short fmAppendAtomic = 256;
        const short fmNoFollow = 512;
        const short fmDeleteOnClose = 1024;

[VB.NET]
    TSBSftpFileOpenMode As Integer
        Const fmRead As SmallInt = 1
        Const fmWrite As SmallInt = 2
        Const fmAppend As SmallInt = 4
        Const fmCreate As SmallInt = 8
        Const fmTruncate As SmallInt = 16
        Const fmExcl As SmallInt = 32
        Const fmText As SmallInt = 64
        Const fmOpenOrCreate As SmallInt = 128
        Const fmAppendAtomic As SmallInt = 256
        Const fmNoFollow As SmallInt = 512
        Const fmDeleteOnClose As SmallInt = 1024

[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, fmCreate = 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_fmCreate = 8, f_fmTruncate = 16, f_fmExcl = 32, f_fmText = 64, f_fmOpenOrCreate = 128, f_fmAppendAtomic = 256, f_fmNoFollow = 512, f_fmDeleteOnClose = 1024 } TSBSftpFileOpenModes;

Description

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