Skip to main content

TdxCloudStorageFiles.FetchAll Method

Loads the full content structure from the connected cloud storage service’s server.

Declaration

procedure FetchAll;

Remarks

Call this procedure to populate the root and all special folders with the corresponding content structure stored in the connected cloud storage account. The FetchAll procedure cancels any file operations (such as copy, move, or delete) that are currently performed on a server, raises the cloud storage component’s OnTreeDataLoading event, and starts retrieving the content structure at all nesting levels. If an attempt to load the full content structure succeeds, the cloud storage raises the OnTreeDataLoaded event; otherwise, the OnError event occurs.

If you need to populate a folder’s content structure only at the first nesting level, call the FetchChildren procedure of the corresponding folder metadata container (Root.FetchChildren, for instance).

See Also