FindFolderByFullPath (open)

Find a folder by its full path

Syntax

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

RECORD FUNCTION FindFolderByFullPath(INTEGER siteid, STRING fullpath)

Parameters

INTEGER siteid

ID of the site to look in

STRING fullpath

Path (case-insensitive) of the folder to look for,

Return value

RECORD

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

Description

Retrieve a folder record from the FOLDERS table, based on its site ID and full path