Filetype, Hosttimeout – Echelon OpenLNS User Manual

Page 359

Advertising
background image

OpenLNS Programmer's Reference

322

files. This property will return the file

size of the file that is using the value

assigned to the FileIndex property as

its index number.

Data Type

Long.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

FileType

Summary

Returns the file type of any of the files on the app devices

that have been added to the

FileTransfer

object’s target list

.

Availability

Local, full, and lightweight clients.

Syntax

nFileTypeValue = ftObject.

FileType

(nTarget)

Element

Description

nFileTypeValue

File type.

ftObject

The

FileTransfer

object to be acted on.

nTarget

The FileTransfer object index.
The FileTransfer object has a list of

targets, numbered from one to N.

nTarget is an index within that list,

used to get the node handle of the app

device for which the file description is

to be obtained. If the nTarget value is

out of range, an exception will be

thrown.
The app device identified by the

nTarget element may have multiple

files. This property will return the file

type of the file that is using the value

assigned to the FileIndex property as

its index number.

Data Type

Integer.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

HostTimeout

Summary

Specifies the host timeout value to be used during a file

transfer

Availability

Local, full, and lightweight clients.

Advertising