Azure File Share Reader Component


This component downloads files from an Azure Storage Account File Share. The file or directory to download can be specified in the component's configuration or passed in on an input channel. The component can download a single file, or every file in a directory and its subdirectories.


Note: This component was previously named Azure Storage File Reader. Blueprints that use the old component continue to work. The old component is marked as deprecated in the Blueprint Editor and no longer appears in the list of available components. To update a blueprint, replace the deprecated component with the Azure File Share Reader, using the same shareName and sharePath settings.


Data Governance

The Azure File Share Reader Component will register all the File Data objects it returns with the Data Governance System. Each returned object is registered as derived from the object that triggered the download (the SignalData or SimpleMappedData object received on the input channel).


Input Channels

execute — SignalData

Receives a SignalData object that instructs the component to download the file or directory specified by its sharePath parameter. If the component is already downloading, the message is ignored and a message is logged.


executeWithParams — SimpleMappedData

Receives a SimpleMappedData object whose path  key names the file or directory to download. The success output of the Azure File Share Writer can be connected directly to this channel. If the component is already downloading, the message is ignored and a message is logged.


Output Channels

default — FileData

Outputs a FileData object for each file that is downloaded from the File Share. The last file downloaded for a request is tagged as the last item.


noResults — SignalData

Returns a SignalData object when there are no files at the target location.


error — ErrorOutput

Returns an ErrorOutput object if there is an error communicating with the File Share. If the path  key is missing from the data received on executeWithParams, a SignalData object describing the problem is sent on this channel instead.


Parameters

resource — The Azure Storage Account Resource specifying the Storage Account containing the File Share from which files will be read. The resource's shareBaseURL must be set.


shareName (String) — The name of the File Share from which files will be read.


sharePath (String) — The path within the File Share to download when the component is triggered via the execute channel. If the path names a file, only that file is downloaded. If it names a directory, every file in the directory and its subdirectories is downloaded.


Troubleshooting: A 403  AuthorizationPermissionMismatch  error usually means the shareName does not name an existing File Share (Azure reports a missing File Share as a permission error when authenticating with an Azure Client Secret Credential), or that the credential's application lacks the Storage File Data Privileged Contributor role on the Storage Account.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us