IPWorks Cloud 2020 Delphi Edition

Questions / Feedback?

ResourceList Event

Fires once for each resource returned when listing resources.

Syntax

type TResourceListEvent = procedure (
  Sender: TObject;
  const Name: String;
  const Path: String;
  const Share: String;
  ResourceType: Integer;
  const ModifiedTime: String;
  Size: Int64;
  const ETag: String
) of Object;

property OnResourceList: TResourceListEvent read FOnResourceList write FOnResourceList;

Remarks

This event fires once for each resource returned when ListResources, GetFileInfo, or GetFolderInfo is called.

Name is the name of the resource.

Path is the full path of the resource (not including the share).

Share is the name of the share the resource resides in.

ResourceType reflects the resource's type. Possible values are:

0 (afrtFile) A file.
1 (afrtFolder) A folder.

ModifiedTime is the last modified time of the resource, formatted according to RFC 1123. (Note: this parameter is not populated by calls to ListResources.)

Size is the size of the file. Always 0 for folders.

ETag is the ETag of the resource. (Note: this parameter is not populated by calls to ListResources.)

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Delphi Edition - Version 20.0 [Build 8265]