Connections Property

A collection of currently connected clients.

Syntax

public OFTPConnectionMap getConnections();

Remarks

This property contains a collection of currently connected clients. All of the connections may be managed using this property. Each connection is described by the different fields of the OFTPConnection type.

This collection is a hashtable type of collection, in which the ConnectionId string is used as the key to the desired connection. You may acquire the key for a given connection through the Connected event.

Example (Setting the Download Directory)

oftpserver1.Connections.get("123456789").setDownloadDirectory("C:\\Downloads");

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Java Edition - Version 20.0 [Build 8203]