Returns an array of all files in an Azure File Share Directory.
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.
Rule | Result | Meaning |
---|---|---|
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. |
Name | Size | LastModifiedUTC | Path | Etag |
---|---|---|---|---|
MyDocument.odt | 216749 | 12/10/2022 09:16:35 | MyDocument.odt | """0x8DAAC3276492782""" |
Rule | Result | Meaning |
---|---|---|
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. |
Name | Size | LastModifiedUTC | Path | Etag |
---|---|---|---|---|
SubDirectoryDocument.odt | 182 | 12/10/2022 09:16:35 | MySubDirectory/SubDirectoryDocument.odt | """0x8DAAC3276492782""" |
DriveWorks can be hosted on Microsoft Azure, for more information see Microsoft Azure.