Skip to Content

SMB connection

Introduction

An SMB connection, created using the SMB connector, establishes access to folders and files on a remote server using the SMB (Server Message Block) protocol. Once a connection is configured, you can create instances of SMB activities associated with that connection to be used either as sources (to provide data in an operation) or as targets (to consume data in an operation).

Note

This connector supports the Enable Re-authentication on Change organization policy. When enabled, changes to the Server, Use Authentication, or Username fields require users to re-enter the Password for the connection.

Create or edit an SMB connection

A new SMB connection is created using the SMB connector from one of these locations:

An existing SMB connection can be edited from these locations:

Configure an SMB connection

Each user interface element of the SMB connection configuration screen is described below.

SMB connection configuration

Tip

Fields with a variable icon support using global variables, project variables, and Jitterbit variables. Begin either by typing an open square bracket [ into the field or by clicking the variable icon to display a list of the existing variables to choose from.

  • Connection Name: Enter a name to use to identify the connection. The name must be unique for each SMB connection and must not contain forward slashes / or colons :. This name is also used to identify the SMB endpoint, which refers to both a specific connection and its activities.

  • Server: Enter the server and folder path using this format:

    JBEXAMPLE-W0522/example-folder

  • Use Authentication: Select if authentication credentials are required to interact with the server.

  • Username: Select this option if the server requires authentication credentials.

  • Password: If using authentication, enter the server username.

  • Domain: If using authentication, enter the domain for the username and password.

  • SMB protocol version: Select an SMB protocol version:

    • SMB_2_1 (version 2.1, default)

    • SMB_3_0 (version 3.0)

    • SMB_3_0_2 (version 3.0.2)

    • SMB_3_1_1 (version 3.1.1)

  • Use Proxy Settings (Private Agent Only): When using a private agent, this setting can be selected to use private agent proxy settings.

  • Optional settings: Click to expand additional optional settings:

    • Read, Write, and Transact Timeouts (ms): Enter the amount of time (in milliseconds) before a timeout occurs for an activity's request. The default value is 6000, equivalent to 6 seconds.

    • Socket Timeout (ms): Enter the amount of time (in milliseconds) before a timeout occurs when testing the connection. The default value is 0.

  • Test: Click to verify the connection using the provided configuration. When the connection is tested, the latest version of the connector is downloaded by the agent(s) in the agent group associated with the current environment. This connector supports suspending the download of the latest connector version by using the Disable Auto Connector Update organization policy.

  • Save Changes: Click to save and close the connection configuration.

  • Discard Changes: After making changes to a new or existing configuration, click to close the configuration without saving. A message asks you to confirm that you want to discard changes.

  • Delete: After opening an existing connection configuration, click to permanently delete the connection from the project and close the configuration (see Component dependencies, deletion, and removal). A message asks you to confirm that you want to delete the connection.

Next steps

After an SMB connection has been created, you place an activity type on the design canvas to create activity instances to be used either as sources (to provide data in an operation) or as targets (to consume data in an operation).

Menu actions for a connection and its activity types are accessible from the project pane and design component palette. For details, see Actions menus in Connector basics.

These activity types are available:

  • Delete file: Deletes files from an SMB server and is intended to be used as a target in an operation.

  • Search: Returns all files in an SMB server folder and is intended to be used as a source in an operation.

  • Update file: Updates files in an SMB server and is intended to be used as a target in an operation.

  • Delete folder: Deletes folders from an SMB server and is intended to be used as a target in an operation.

  • Read file: Retrieves the content of a text-based file from an SMB server and is intended to be used as a source in an operation.

  • Create folder: Creates folders in an SMB server and is intended to be used as a target in an operation.

  • Update folder: Updates folders in an SMB server and is intended to be used as a target in an operation.

  • Create file: Creates files in an SMB server and is intended to be used as a target in an operation.