Skip to content

FileAttributes - cFTPTransfer

Returns the file attributes of the file sFilename on RemoteHost

Type: Function
Return Data Type: Integer

Parameters

Parameter Type Description
sFileName String The name of the file attributes to be returned

Syntax

Function FileAttributes String sFileName Returns Integer

Call Example

Get FileAttributes sFileName to IntegerVariable

Description

The FileAttributes function returns the file attributes of the file sFilename on RemoteHost, can be one or more of the following values:

faArchive faCompressed faDirectory faEncrypted faHidden faNormal faOffline faReadOnly faReparsePoint faSparseFile faSystem faTemporary

Return Value

Returns the file attributes of the file on RemoteHost