Connected Property

Triggers a connection or disconnection.

Object Oriented Interface

public function getConnected();
public function setConnected($value);

Procedural Interface

ipworkssftp_sftp_get($res, 1 );
ipworkssftp_sftp_set($res, 1, $value );

Default Value



This property triggers a connection or disconnection. Setting this property to True makes the class attempt to connect to the host identified by the RemoteHost property. If successful, after the connection is achieved the value of the property changes to True and the Connected event is fired.

Setting this property to False closes the connection. How and when the connection is closed is controlled by the Linger property.

This property is not available at design time.

Data Type


Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks SFTP 2020 PHP Edition - Version 20.0 [Build 7941]