taskstemplates
feedback & roadmap30-day trialbook a demo

Upload files from local fileshare to Azure Data Lake

This Process uploads files from a local filesystem based on a file mask and a source path to Azure Data Lake.

Template

Prerequisites

This template assumes that the following prerequisites are in place:

  • The Frends agent has access to the local files that need to be uploaded.
  • The Azure user has the rights to upload files to the Data Lake.

Implementation and Usage Notes

This template uploads files from the local fileshare or file system to Azure Data Lake.

The source and destination paths, the pattern for matching source files, and parameters for connecting to the Data Lake container are passed to the template using Process Variables.

The template does not handle cleanup of the local directory, so cleaning or local file processing should be configured separately.

By default, the Azure Data Lake upload task overwrites any existing files in the target directory if they have same names as the files to be uploaded. This behavior can be changed in the task options.

Error Handling

This template does not handle transient errors separately.

Template Process Variables

TargetContainer The name of the container in which files will be uploaded.
AzureConnectionString 🗝The connection string for the Azure Storage Account.
SourcePath The path of the source folder in the local fileshare.
TargetPath The path of the target folder in the container. If the folder doesn't exist, it will be created.
SourceFilePattern The pattern that specifies which files from the given source path will be uploaded.