IPWorks Cloud 2020 Delphi Edition

Questions / Feedback?

CSDirEntry Type

A listing in a directory returned from the server.

Remarks

The DirEntry type contains details about each entry returned after calling ListDirectory.

Fields

FileName
String

This property holds the name of the file or folder.

FileSize
Int64

This property holds the size of the file in bytes. This is also applicable to folders for depending on the ServiceProvider.

The table below summarizes the applicability of this value on a per-provider basis:

Service Provider FilesDirectories
spAmazonS3 (0) X
spBox (1) X X
spDropbox (2) X
spGoogleDrive (3) X
spOneDrive (4) X X
spAzureBlob (6) X
spWasabi (7) X
spDigitalOcean (8) X
spGoogleStorage (9) X
spHadoopDFS (10) X
spAzureFile (11) X
spBackblazeB2 (12) X
spIBMStorage (13) X
spLinode (14) X

FileTime
String

This property holds the modified date of the file. By default the datetime format used is "yyyy-MM-dd'T'HH:mm:ss". To modify this format set DateFormat.

Note: Modified times are not applicable to directories for the following providers:

  • spAmazonS3 (0)
  • spDropbox (2)
  • spWasabi (7)
  • spDigitalOcean (8)
  • spGoogleStorage (9)
  • spBackblazeB2 (12)
  • spIBMStorage (13)
  • spLinode (14)

Additionally, the following providers do not return modified times at all:

  • spAzureFile (11)

IsDir
Boolean

This property specifies whether the entry is a directory. If False the entry is a file.

Constructors

constructor Create();

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