FileVarFile Property

This property contains the path and filename of each file to be sent.

Syntax

ANSI (Cross Platform)
char* GetFileVarFile(int iFileIndex);
int SetFileVarFile(int iFileIndex, const char* lpszFileVarFile); Unicode (Windows) LPWSTR GetFileVarFile(INT iFileIndex);
INT SetFileVarFile(INT iFileIndex, LPCWSTR lpszFileVarFile);
- (NSString*)fileVarFile:(int)fileIndex;
- (void)setFileVarFile:(int)fileIndex:(NSString*)newFileVarFile;
#define PID_WEBUPLOAD_FILEVARFILE 15

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_WebUpload_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_WebUpload_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_WebUpload_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property contains the path and filename of each file to be sent.

When the class is used as an upload client, this property must point to valid file name that will be sent to the server.

If FileVarInputData is set, this property may instead be set to the desired filename which will be used in the request.

The FileIndex parameter specifies the index of the item in the array. The size of the array is controlled by the FileCount property.

This property is not available at design time.

Data Type

String

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