Moo_FileInfo  -  Get information about a file.

Moo_FileInfo ( sFile; sInfo; sOptions );

This functions lets you delete a file.

Parameters

NameTypeRequiredDefaultDescription
sFileStringYes The input file.
sInfoStringYes The information to retrieve.
sOptionsStringNo Options for the selected information.

Return Value

Returns either the requested file information, or an error code.

Notes

Currentley only supports the following sInfo and sOptions values:

sInfosInfo DescsOptionssOptions Desc
sizeGet a files sizehuman
bytes
in human readable form, eg 10kb
in bytes eg 10240
versionGet a files version

Errors

Error CodeDescription
Moo_FileInfo|Err_1Invalid number of arguments.
Moo_FileInfo|Err_2Invalid source file input.
Moo_FileInfo|Err_3Source file doesn't exist.
Moo_FileInfo|Err_4Unknown sInfo parameter.
Moo_FileInfo|Err_5Unknown sOptions parameter.

Related Functions