Azure File Share Writer Component


The Azure File Share Writer writes the File Data objects passed into the component to the target directory in an Azure Storage Account File Share. Any directories needed under the target directory are created automatically.


Note: This component was previously named Azure Storage File Writer. 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 Writer, using the same shareName, basePath, and ignoreFilePath settings.


Data Governance

The Azure File Share Writer component will record the storage of each file it writes in the database in the Data Governance System.


Input Channels

default — FileData


Uploads the FileData objects received on this input channel to the target directory in the File Share.


Output Channels

success — SimpleMappedData

Returns a SimpleMappedData object indicating that a FileData object was successfully uploaded to the File Share. The mapped data contains the full path of the file on the File Share in the path   key, so this output can be connected directly to the delete channel of the Azure File Share Deleter or the executeWithParams channel of the Azure File Share Reader.


failure — SignalData

Reserved for indicating that a FileData object was not uploaded. In the current version, upload problems are reported on the error channel instead.


error — ErrorOutput

Returns an ErrorOutput object if the file could not be uploaded, or if there is an error communicating with the File Share.


Parameters

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


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


basePath (String, default: /) — The directory in the File Share where all input files will be written. This path is prepended to the paths of all files written to the share. The directory is created when the component starts if it does not already exist.


ignoreFilePath (boolean, default: false) — Controls whether the path included in each incoming file is used. If false, the file is written to a subdirectory matching the file's path, relative to the basePath. If true, files are written directly to the basePath.


Troubleshooting: If the component fails to start with a 403   AuthorizationPermissionMismatch   error, check that the shareName names a File Share that exists in the Storage Account. When authenticating with an Azure Client Secret Credential, Azure reports a missing File Share as a permission error. Also check that the credential's application has 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