FindFileByFullPath (open)

Find a file by its full path

Syntax

LOADLIB "mod::publisher/lib/publisher.whlib";

RECORD FUNCTION FindFileByFullPath(INTEGER siteid, STRING fullpath)

Parameters

INTEGER siteid

ID of the site to look in

STRING fullpath

Path (case-insensitive) of the file to look for

Return value

RECORD

The requested file record, or a non-existing record if the file does not exist

Description

Retrieve a file record from the FILES table, based on its site ID and full path