WHFSFolder::RetrieveResource (open)

Retrieve a resource with path and modtime. Implements relative path and currentsite:: support. Throws if file not found

Syntax

LOADLIB "mod::system/lib/internal/whfs/objects.whlib";

RECORD FUNCTION RetrieveResource(STRING resourcepath)

Parameters

STRING resourcepath

Path to the resource

Return value

RECORD

Resource data

BLOB data

Resource data

DATETIME modified

Resource modification date (if known)

STRING path

Path of the resource