Rosyncpool – BrightSign Object Reference Manual (FW 5.1) User Manual
Page 324

316
roSyncPool
Object Creation: The roSyncPool object is created with a single parameter that specifies the file path where the pool is
located.
CreateObject("roSyncPool", pool_path As String)
Example:
pool = CreateObject ("roSyncPool", "SD:/pool")
The ifSyncPool interface provides the following:
•
ValidateFiles(sync_spec As roSyncSpec, directory As String, options_array As
roAssociativeArray) As Object: Validates the files in the specified directory against the hashes in the
specified sync spec. Files that are not in the sync spec are ignored. The options array can currently contain the
following optional parameters:
o DelteCorrupt (Boolean): Automatically delete files that do not match the sync spec. The method will return
an associative array that maps each fileneame to an explanation of why it is corrupt. The array only contains
corrupt files, so the success is reported by the method returning an empty associative array.
•
GetFailureReason() As String
•
AsyncDownload(a As Object) As Boolean
•
AsyncCancel() As Boolean
•
Realize(a As Object, b As String) As Object