Skip to main content Skip to complementary content

tBoxPut Standard properties

These properties are used to configure tBoxPut running in the Standard Job framework.

The Standard tBoxPut component belongs to the Cloud family.

The component in this framework is available in all Talend products.

Basic settings

Use existing connection

Select this check box and in the Component List drop-down list, select the desired connection component to reuse the connection details you already defined.

Connection/Client Key

Enter the client key required by Box to access the Box API. To obtain the client key and client secret you need to create an account at https://developers.box.com/ and then create a Box App under the Box account to be used. The client key and client secret can be obtained from the account application settings.

Connection/Client Secret

Enter the client secret required by Box to access the Box API. To obtain the client key and client secret you need to create an account at https://developers.box.com/ and then create a Box App under the Box account to be used. The client key and client secret can be obtained from the account application settings.

Connection/Access Token

Enter the access token required by Box to access a Box account and operate it. For how to get the access token and refresh token, check the Box documentation you can access from https://developers.box.com/.

Connection/Refresh Token

Enter the refresh token required by Box to refresh the access token automatically. For how to get the access token and refresh token, check the Box documentation you can access from https://developers.box.com/.

Connection/Use HTTP proxy

If you are using a proxy, select this check box and enter the host and port information of that proxy in the corresponding fields that are displayed.

Remote Path

Enter the path pointing to the file you need to write contents in. This file will be created on the fly if it does not exist.

Replace if Existing

Select this check box to use the uploaded file to replace the existing one.

Upload mode

Select the upload mode to be used:

  • Upload incoming content as file: Select this radio button to read data directly from the input flow of the preceding component and write the data into the file specified in the Remote Path field.

  • Upload local file: Select this radio button to upload a locally stored file to Box. In the File field that is displayed, you need to enter the path or browse to this file.

  • Expose as OutputStream: Select this check box to expose the output stream of this component, which can be used by the other components to write the file content. For example, you can use the Use output stream feature of the tFileOutputDelimited component to feed a given tBoxPut's exposed output stream. For further information, see tFileOutputDelimited.

Schema and Edit schema

A schema is a row description. It defines the number of fields (columns) to be processed and passed on to the next component. When you create a Spark Job, avoid the reserved word line when naming the fields.

Note that the schema of this component is read-only with a single column named content and it receives data from the content column of its input schema only. This means that you must use a content column in the input data flow to carry the data to be uploaded. This type of column is typically provided by the tFileInputRaw component. For further information, see tFileInputRaw.

The Schema field is not available when you have selected the Expose as OutputStream or the Upload local file upload mode.

Advanced settings

tStatCatcher Statistics

Select this check box to collect log data at the component level.

Global Variables

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.

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 more information about variables, see Using contexts and variables.

Usage

Usage rule

This component is used either standalone in a subJob to directly upload a local file to Box or as an end component of a Job flow to upload given data being handled in this flow.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!