6.1-roSyncPool
ON THIS PAGE
We recommend using roAssetPool instead.
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")
 ifSyncPool
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:
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
Â
ProtectFiles(a As Object, b As Integer) As Boolean
Â
ReserveMegabytes(a As Integer) As Boolean
Â
GetPoolSizeInMegabytes() As Integer
Â
EstimateRealizedSizeInMegabytes(a As Object, b As String) As Integer
Â
IsReady(a As Object) As Boolean
Â
Validate(a As Object, b As Object) As Boolean
Â
EnablePeerVerification(a As Boolean)
Â
EnableHostVerification(a As Boolean)
Â
SetCertificatesFile(a As String)
Â
SetUserAndPassword(a As String, b As String) As Boolean
Â
AddHeader(a As String, b As String)
Â
SetHeaders(a As Object) As Boolean
Â
SetMinimumTransferRate(a As Integer, b As Integer) As Boolean
Â
AsyncSuggestCache(a As Object) As Boolean
Â
SetProxy(a As String) As Boolean
Â
SetProxyBypass(a As Array) As Boolean
Â
SetFileProgressIntervalSeconds(a As Integer) As Boolean
Â
QueryFiles(a As Object) As Object
Â
SetFileRetryCount(a As Integer) As Boolean
Â
SetRelativeLinkPrefix(prefix As String) As Boolean
Â
BindToInterface(interface As Integer) As Boolean
Â
EnableUnsafeAuthentication(a As Boolean)
Â
EnableUnsafeProxyAuthentication(enable As Boolean) As Boolean
Â
EnableEncodings(enable As Boolean) As Boolean
Â
SetMaximumPoolSizeMegabytes(maximum_size As Integer) As Boolean
ifIdentity
GetIdentity() As Integer
ifMessagePort
SetPort(a As Object)
ifUserData
SetUserData(a As Object)
Â
GetUserData () As Object
Â