Get Folder Contents

Lists the files and folders in the specified folder.

‘GetFilesResult’ returns only files (‘PAWFileInfo’). ‘Items’ returns both files and folders (‘StorageItemInfo’).


⬅️INPUT

Parameter

Type

Required

Description

FolderPath

String

✅Yes

Folder path


➡️OUTPUT

Parameter

Type

Description

IsGetFilesSuccessful

Boolean

Success

GetFilesMessage

String

Message

GetFilesResult

List<PAWFileInfo>

Detailed list of the files in the folder

Items

List<StorageItemInfo>

File and folder items


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Throw exception on error