file

file

file

Farcry File Operations

Metadata

getFileProperties()

Returns a struct of file information

Arguments

Name Type Required Default Options Description
filename string Yes The file to query

getFileSize()

Returns the size of the specified file

Arguments

Name Type Required Default Options Description
filename string Yes The file to query

getMimeType()

Return Mime Type based on lookup of file extension

Arguments

Name Type Required Default Options Description
filename string Yes

getMimeTypes()

Returns a structure of known Mime Types

Arguments

Name Type Required Default Options Description
None