file::get-length

Gets the length of the file.

Usage

long file::get-length(file)

Parameters

Name Type Description
file string filename

Return Value

Length in bytes, of the file named file.

Exceptions

The function will fail in any of the following circumstances:

Requirements

Assembly: NAnt.Core (0.91.4312.0)