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 | Files | Directories | 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:
|
IsDir Boolean |
This property specifies whether the entry is a directory. If False the entry is a file.
|
Constructors
constructor Create();