ReadOnly Property
Specifies whether files on the server are read-only.
Syntax
ANSI (Cross Platform) int GetReadOnly();
int SetReadOnly(int bReadOnly); Unicode (Windows) BOOL GetReadOnly();
INT SetReadOnly(BOOL bReadOnly);
@property (nonatomic,readwrite,assign,getter=readOnly,setter=setReadOnly:) BOOL readOnly; - (BOOL)readOnly; - (void)setReadOnly:(BOOL)newReadOnly;
#define PID_SFTPSERVER_READONLY 67 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_SFTPServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_SFTPServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
Set this property to true to deny all client requests to change files on the server.
Data Type
Boolean