Uploads a file to an Azure File Share.
Property Name | Description |
---|---|
Connection String | The connection string for the Storage Account.
See the Microsoft article Configure Azure Storage connection strings for more information. |
Share Name | Name of the File Share. |
Share Path | The File Share path to upload the file into. Leave blank to upload to the root directory. The Task will attempt to create any non-existent directories before uploading the file.
Must adhere to the following rules:
|
Overwrite | If true, overwrite the file if it already exists. |
File Path | The path to the file to upload. Relative paths are resolved to the Specification directory if no prefix is defined. Accepted prefixes: <Project>, <Specification>, <SpecificationMetadata>, <GroupContent>. |
When this Task is added the properties are static. To be able to build rules on a static property see How To: Change A Static Property To A Dynamic Property.
Property Name | Example Rule | Example Result | Meaning |
---|---|---|---|
Connection String | DWVariableAzureStorageConnectionString | DefaultEndpointsProtocol=https; AccountName=MyExampleName; AccountKey=MyExampleAccountKey; EndpointSuffix=core.windows.net | This is the connection string used to identify the Azure Storage Account to connect to. |
Share Name | "My File Share" | My File Share | This is the name of the File Share to upload the file to. |
Share Path | "" | This is the Azure File Share Path to upload the file to. A blank or empty value will upload the file to the root directory. | |
Overwrite | TRUE | TRUE | Set to TRUE, if the file exists already in the Azure File Share then it will overwrite the existing file. |
File Path | DWSpecificationFullPath&"\Quote.docx" | C:\Main\MyDocuments\Specifications\Parent 121\Quote.docx | This is the File Path of the target file to upload to Azure File Share. |
Property Name | Example Rule | Example Result | Meaning |
---|---|---|---|
Connection String | DWVariableAzureStorageConnectionString | DefaultEndpointsProtocol=https; AccountName=MyExampleName; AccountKey=MyExampleAccountKey; EndpointSuffix=core.windows.net | This is the connection string used to identify the Azure Storage Account to connect to. |
Share Name | "My File Share" | My File Share | This is the name of the File Share to upload the file to. |
Share Path | "DirectoryA/DirectoryB" | DirectoryA/DirectoryB | This is the Azure File Share path to upload the file to. The file will be uploaded 'DirectoryA/DirectoryB'. |
Overwrite | FALSE | FALSE | Set to FALSE, if the file exists already in the Azure File Share then the task will not upload the file. |
File Path | DWSpecificationFullPath&"\Quote.docx" | C:\Main\MyDocuments\Specifications\Parent 121\Quote.docx | This is the File Path of the target file to upload to Azure File Share. |
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.
This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.
The status output navigation is as follows:
Success
Success with Warnings
Failed (one of the following occurred)
DriveWorks can be hosted on Microsoft Azure, for more information see Microsoft Azure.