FTP FileInfo

A complex data type that contains information about a file that is retrieved by the Get list of files operation operation of the FTP service. Each data item that the variable holds contains information about the file.

For information about data that can be accessed using Xpath Expressions, see Data items.

Data items

The data items that FTP FileInfo variables contain.

directory

A boolean value that specifies whether the value specified in the Remote Directory Path property of the Get List Of Files operation is a directory path. A value of true indicates it is a directory and false indicates it is not a directory.

directoryName

A string value that represents the name of the directory from which the file was retrieved.

fileName

A string value that represents the name of the file that was retrieved.

fullPath

A string value that represents the path of the file that was retrieved.

hidden

A boolean value that indicates whether the file was hidden. A value of true indicates the file was hidden and false indicates it was not hidden.

readOnly

A boolean value that indicates whether the file was read only. A value of true indicates the file was read only and a value of false indicates it was not read only.

size

A long value that represents the size of the file that was retrieved, in bytes.