SecureBlackbox Lite 2020 C++ Edition

Questions / Feedback?

AdjustPasvAddress Property

Enables or disables automatic adjustment of passive-mode addresses.

Syntax

ANSI (Cross Platform)
int GetAdjustPasvAddress();
int SetAdjustPasvAddress(int bAdjustPasvAddress); Unicode (Windows) BOOL GetAdjustPasvAddress();
INT SetAdjustPasvAddress(BOOL bAdjustPasvAddress);
@property (nonatomic,readwrite,assign,getter=adjustPasvAddress,setter=setAdjustPasvAddress:) BOOL adjustPasvAddress;
- (BOOL)adjustPasvAddress;
- (void)setAdjustPasvAddress:(BOOL)newAdjustPasvAddress;
#define PID_FTPCLIENT_ADJUSTPASVADDRESS 1

SECUREBLACKBOXLITE_EXTERNAL void* SECUREBLACKBOXLITE_CALL SecureBlackboxLite_FTPClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOXLITE_EXTERNAL int SECUREBLACKBOXLITE_CALL SecureBlackboxLite_FTPClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

TRUE

Remarks

Occasional NAT'ed servers misbehave by returning local IP addresses in their PASV mode offers, which are not reachable from the outer network. Set this property to true to make the class enforce data connections to the same address as the control connection uses.

Note that sometimes (typically, with multi-faced FTP services aka FTP Clouds) you may need to disable this property to make the transfers work right.

Data Type

Boolean

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