IPWorks Cloud 2020 Kotlin 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 field holds the name of the file or folder.

FileSize
Long

This field 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 field 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 field specifies whether the entry is a directory. If false the entry is a file.

Constructors

public constructor()



Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Kotlin Edition - Version 20.0 [Build 7941]