Discuss this help topic in SecureBlackbox Forum

TSBSftpFileOpenAccessItem

Declared in     


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


Defines possible file access modes.

Declaration

[C#]
    TSBSftpFileOpenAccessItem = short;
        const short faReadLock = 0;
        const short faWriteLock = 1;
        const short faDeleteLock = 2;
        const short faBlockAdvisory = 3;

[VB.NET]
    TSBSftpFileOpenAccessItem As Short
        Const faReadLock As Short = 0
        Const faWriteLock As Short = 1
        Const faDeleteLock As Short = 2
        Const faBlockAdvisory As Short = 3

[Pascal]
    TSBSftpFileOpenAccessItem = (faReadLock, faWriteLock, faDeleteLock, faBlockAdvisory);

[C++]
    typedef uint8_t TSBSftpFileOpenAccessItemRaw;
    typedef enum { faReadLock = 0, faWriteLock = 1, faDeleteLock = 2, faBlockAdvisory = 3 } TSBSftpFileOpenAccessItem;
    
    typedef uint32_t TSBSftpFileOpenAccessRaw;
    typedef enum { f_faReadLock = 1, f_faWriteLock = 2, f_faDeleteLock = 4, f_faBlockAdvisory = 8 } TSBSftpFileOpenAccess;

[PHP]
    class TSBSftpFileOpenAccessItem extends TSBBaseEnum {
        const faReadLock = 0;
        const faWriteLock = 1;
        const faDeleteLock = 2;
        const faBlockAdvisory = 3;
    }

[Java]
    not available

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