Get Folder Contents to DataTable

Lists the items in the FTP folder as a DataTable.

DataTable columns: ‘Name’, ‘Path’, ‘Type’, 'CreatedDate', 'ModifiedDate', 'Size'. The 'Type' value is 'Directory' or the file type.


⬅️INPUT

Parameter

Type

Required

Description

ConnectionSettings

PAWFtpConnectionSettings

✅Yes

FTP connection details

FtpFolderPath

String

✅Yes

FTP folder path to list


➡️OUTPUT

Parameter

Type

Description

IsGetFolderListToDataTableSuccessful

Boolean

Listing success status

GetFolderListToDataTableMessage

String

Status message or error detail

GetFolderListToDataTableResult

DataTable

DataTable containing the file/folder list

Items

List<StorageItemInfo>

Combined file/folder list


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Specifies whether an exception is thrown when the operation fails. The default value is "No".