Mode Property

The UNIX-style filemode when uuencoding / uudecoding.

Syntax

ANSI (Cross Platform)
char* GetMode();
int SetMode(const char* lpszMode); Unicode (Windows) LPWSTR GetMode();
INT SetMode(LPCWSTR lpszMode);
@property (nonatomic,readwrite,assign,getter=mode,setter=setMode:) NSString* mode;
- (NSString*)mode;
- (void)setMode:(NSString*)newMode;
#define PID_NETCODE_MODE 8

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_NetCode_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_NetCode_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

"0755"

Remarks

This property contains the UNIX-style filemode when uuencoding / uudecoding. The filemode is usually an octal number such as 755 or 600 which gives the protections of that file. If the file to uudecode is correctly read then this property contains the protection string given in the uuencoded data.

Given for compatibility with other systems. Used only when Format is fmtUUE.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]