Account Property

The user account to login with.

Syntax

ANSI (Cross Platform)
char* GetAccount();
int SetAccount(const char* lpszAccount); Unicode (Windows) LPWSTR GetAccount();
INT SetAccount(LPCWSTR lpszAccount);
@property (nonatomic,readwrite,assign,getter=account,setter=setAccount:) NSString* account;
- (NSString*)account;
- (void)setAccount:(NSString*)newAccount;
#define PID_FTP_ACCOUNT 1

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

Default Value

""

Remarks

This property contains the user account to use when logging in. Some servers may require an Account in order to Logon or in order to access specific privileges, like uploading or deleting files.

Data Type

String

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