SecureBlackbox 2020 PHP Edition

Questions / Feedback?

AdjustPasvAddress Property

Enables or disables automatic adjustment of passive-mode addresses.

Object Oriented Interface

public function getAdjustPasvAddress();
public function setAdjustPasvAddress($value);

Procedural Interface

secureblackbox_ftpclient_get($res, 1 );
secureblackbox_ftpclient_set($res, 1, $value );

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 2020 PHP Edition - Version 20.0 [Build 8154]