tAzureStoragePut - 6.1

Talend Components Reference Guide

EnrichVersion
6.1
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for Data Quality
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance
Data Quality and Preparation
Design and Development
EnrichPlatform
Talend Studio

Warning

This component will be available in the Palette of Talend Studio on the condition that you have subscribed to one of the Talend solutions with Big Data.

tAzureStoragePut properties

Component Family

Cloud / Azure Storage

 

Function

tAzureStoragePut connects to a given Azure storage account and uploads local files into a given container of that account.

Purpose

tAzureStorageGet allows you to upload a whole folder or a number of selected files of that folder from a local machine into a given Azure container.

Basic settings

Use an existing connection

Select this check box and in the Component List click the relevant connection component to reuse the connection details you already defined.

 

Account name

Enter the name of the storage account you need to access. A storage account name can be found in the Manage Access Keys dashboard of the Microsoft Azure Storage system to be used.

 

Account key

Enter the key associated with the storage account you need to access. Two keys are available for each account and by default, either of them can be used for this access.

 

Protocol

Select the protocol for this connection to be created.

 

Container

Enter the name of the container you need to write files in.

This container must exist in the Azure Storage system you are using.

 

Local folder

Enter the path, or browse to the folder from which you need to upload files.

 

Azure storage folder

Enter the path to the virtual blob folder in the remote Azure storage system you want to upload files into.

If you do not put any value in this field but leave this field as it is with only its default quotation marks, tAzureStoragePut writes files directly beneath the container level.

 

Use Files list

Select this check box to be able to define file filtering conditions. Once selecting it, the Files table is displayed.

 

Files

Complete this table to select the files to be uploaded into Azure. The parameters to be provided are:

  • Filemask: file names or path to the files to be uploaded.

  • New name: name to give to the files after they are uploaded.

 

Die on error

Select this check box to stop the execution of the Job when an error occurs.

Clear the check box to skip any rows on error and complete the process for error-free rows. When errors are skipped, you can collect the rows on error using a Row > Reject link.

Advanced settings

tStatCatcher Statistics

Select this check box to gather the Job processing metadata at the Job level as well as at each component level.

Usage

This component is used as a standalone component.

Knowledge about Microsoft Azure Storage is required.

Global Variables

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

ACCOUNT_NAME: the account name for accessing the storage. This is an After variable and it returns a string.

ACCOUNT_KEY: the key associated with the account for accessing the storage. This is an After variable and it returns a string.

CONTAINER: the container name used in this component. This is an After variable and it returns a string.

LOCAL_FOLDER: the local directory used in this component. This is an After variable and it returns a string.

REMOTE_FOLDER: the remote directory used in this component. This is an After variable and it returns a string.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio User Guide.

Log4j

If you are using a subscription-based version of the Studio, the activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User Guide.

For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html.

Limitation

n/a

Related scenario

For a related scenario, see Scenario: Retrieving files from a Azure Storage container