EncodedFile Property

Filename of the encoded data.

Syntax

ANSI (Cross Platform)
char* GetEncodedFile();
int SetEncodedFile(const char* lpszEncodedFile); Unicode (Windows) LPWSTR GetEncodedFile();
INT SetEncodedFile(LPCWSTR lpszEncodedFile);
@property (nonatomic,readwrite,assign,getter=encodedFile,setter=setEncodedFile:) NSString* encodedFile;
- (NSString*)encodedFile;
- (void)setEncodedFile:(NSString*)newEncodedFile;
#define PID_NETCODE_ENCODEDFILE 4

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

""

Remarks

This property contains the filename of the encoded data. If the encoded data is spread over several files, the filenames are passed to EncodedFile in the form name?. Question marks "?" are expanded to numerals starting with 0. The filenames should exist as path\file000.ext and passed to EncodedFile in the form name???. Question marks "?" are expanded to numerals starting with 000 (the number of zeros "0" equals that of question marks "?").

The class appends the extension ".uue", ".b16", or ".q_p" depending on Format immediately after the generated numbers. FileCnt contains the number of encoded files.

See also the Format property, and the MaxFileSize config setting when working with multiple files.

Data Type

String

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