Home Search

DriveWorks Pro 22
AZPPGetFileShareFiles

Send Feedback

AZPPGetFileShareFiles

Returns an array of all files in an Azure File Share Directory.

Syntax

AZPPGetFileShareFiles([Connection String], [File Share Name], [Directory Path], [Include Additional Data])

Where:

Connection String determines the Azure Storage Account to try and connect to.

See the Microsoft article Configure Azure Storage connection strings for more information.

File Share Name determines the Azure File Share to get file information from.

Directory Path determines the Azure File Share directory to get file information from. Blank or empty values will get files from the root of the File Share.

Include Additional Data determines if additional data for file information should be included.

The data will automatically refresh when a Specification is started.

Examples

Example 1 - Getting File Information at Root

RuleResultMeaning
AZPPGetFileShareFiles("DefaultEndpointsProtocol=https; AccountName=MyExampleName; AccountKey=MyExampleAccountKey; EndpointSuffix=core.windows.net","MyFileShare","",True){"Name", "Size", "LastModifiedUTC", "Path", "ETag"; "MyDocument.odt", "216749", "12/10/2022 09:16:35", "MyDocument.odt", """0x8DAAC3276492782"""}This is the array that will be created with the properties for each file that exists in the root of the File Share.

Example Result as a Table

NameSizeLastModifiedUTCPathEtag
MyDocument.odt21674912/10/2022 09:16:35MyDocument.odt"""0x8DAAC3276492782"""

Example 2 - Getting File Information from Sub-Directory

RuleResultMeaning
AZPPGetFileShareFiles("DefaultEndpointsProtocol=https; AccountName=MyExampleName; AccountKey=MyExampleAccountKey; EndpointSuffix=core.windows.net", "MyFileShare", "MySubDirectory", True){"Name", "Size", "LastModifiedUTC", "Path", "ETag"; "SubDirectoryDocument.odt", "182", "12/10/2022 09:16:35", "MySubDirectory/SubDirectoryDocument.odt", """0x8DAAC3276492782"""}This is the array that will be created with the properties for each file that exists in the Azure File Share Sub-Directory.

Example Result as a Table

NameSizeLastModifiedUTCPathEtag
SubDirectoryDocument.odt18212/10/2022 09:16:35MySubDirectory/SubDirectoryDocument.odt"""0x8DAAC3276492782"""

More Information

DriveWorks can be hosted on Microsoft Azure, for more information see Microsoft Azure.