Click or drag to resize
S3ObjectInfoProviderGetObjectsList Method
Returns list with objects from given bucket and under given path.

Namespace: CMS.AmazonStorage
Assembly: CMS.AmazonStorage (in CMS.AmazonStorage.dll) Version: 13.0.131
Syntax
C#
public List<string> GetObjectsList(
	string path,
	ObjectTypeEnum type,
	bool useFlatListing = false,
	bool lower = true,
	bool useCache = true
)

Parameters

path
Type: SystemString
Path.
type
Type: CMS.AmazonStorageObjectTypeEnum
Specifies which objects are returned (files, directories, both).
useFlatListing (Optional)
Type: SystemBoolean
Whether flat listing is used (all files from all subdirectories all in the result).
lower (Optional)
Type: SystemBoolean
Specifies whether path should be lowered inside method.
useCache (Optional)
Type: SystemBoolean
Indicates if results should be primary taken from cache to get better performance

Return Value

Type: ListString

Implements

IS3ObjectInfoProviderGetObjectsList(String, ObjectTypeEnum, Boolean, Boolean, Boolean)
Remarks
In order to allow to distinguish between files and directories, directories are listed with a trailing backslash.
See Also