file::get-length

Gets the length of the file.
long file::get-length(file)

Parameters

Name Type Description
file string filename

Return Value

Length in bytes, of the file named file.

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions