[Java]
int getSupportedAccessModes();
void setSupportedAccessModes(int Value);
Mode values:
[.NET]
[Pascal]
[C++]
Description
faReadLock = 1
faReadLock
f_faReadLock = 1
No other handle has been opened for reading andno other handle will be opened for reading until the client closes the handle.However other handle can be opened for any other access but reading
faWriteLock = 2
faWriteLock
f_faWriteLock = 2
No other handle has been opened for writing or appending andno other handle will be opened for writing or appending until the client closes the handle.However other handle can be opened for any other access but writing or appending
faDeleteLock = 4
faDeleteLock
f_faDeleteLock = 4
No other handle has been opened for deleting or with delete on close flag andno other handle will be opened deleting or with delete on close flag until the client closes the handle
faBlockAdvisory = 8
faBlockAdvisory
f_faBlockAdvisory = 8
If this bit is set, the above block modes are advisory.In advisory mode, only other accesses that specify a block mode need to be consideredwhen determining whether the block access can be granted
TSBSftpFileOpenAccess values
[.NET][C++]
[Pascal]
[PHP]
Description
f_faReadLock = 1
faReadLock
faReadLock = 1
...
f_faWriteLock = 2
faWriteLock
faWriteLock = 2
...
f_faDeleteLock = 4
faDeleteLock
faDeleteLock = 4
...
f_faBlockAdvisory = 8
faBlockAdvisory
faBlockAdvisory = 8
...
Description
Use this property to specify supported access modes.