When to use this connector
Use this connector to create Flows that work with files in SMB Share.
Create a Connection
Step 1. In the Connections
window, click +
, and type in smb
.
Step 2. Select SMB Share
.
Step 3. Enter Connection parameters.
Connection parameters
Host
: SMB Share computer name, hostname, or IP address. Example:etlworks
.Share Name
: the SMB Share name. Example:test
.Directory
: the directory containing the files. This parameter is optional. If it is empty the connector will work with files in the SMB Share root directory.-
The fully qualified network path to the files in the SMB Share is calculated as
//Host/Share Name/Directory
. Example://etlworks/test/inbound
. Files
: the actual file name or a wildcard file name, for example,*.csv
.User
: username.Password
: password.Domain
: the optional domain name.Add Suffix When Creating Files in Transformation
: you can select one of the predefined suffixes for the files created using this Connection. For example, if you selectuuid
as a suffix and the original filename isdest.csv
, Etlworks Integrator will create files with the namedest_uuid.csv
, where uuid is a globally unique identifier such as21EC2020-3AEA-4069-A2DD-08002B30309D
.
This parameter works only when the file is created using source-to-destination-transformation. Read how to add a suffix to the files created when copying, moving, renaming, and zipping files.
Enable Wildcard File Name
: if there are multiple source files in a folder, you can specify an algorithm that will be used to select the next source file to process. For example, ifFiles
is set to*.csv
andoldest
is selected, Etlworks Integrator will always select the oldest file in the folder which matches the wildcard*.csv
.Override Wildcard File Name set for Connection
: ifWildcard File Names
are allowed,Override Wildcard File Name set for Connection
is enabled, and the file name entered in theFROM
field of the transformation is a wildcard file name, the system will override the file name entered at the Connection level. The default behavior is to use the wildcard file name entered when configuring the Connection.
Connect to an SMB Share over SSH tunnel
An SMB Share that sits behind a firewall cannot be accessed directly from a client on the other side of the firewall, but it can often be accessed through an SSH tunnel. The firewall must be configured to accept SSH Connections, and you also need to have an account on the SSH host for this to work.
Use an actual SMB Share hostname when configuring the Connection. The Etlworks Integrator will automatically replace it with the localhost and the available port.
If you need to access an SMB Share that can only be accessed via an SSH tunnel, you need to specify additional information in the Connect over SSH tunnel
section of the Connection screen.
SSH Host
: the name or IP address for the host accepting SSH Connections.SSH Port
: the port accepting SSH Connections. The default value is 22.SSH User
: the user name.SSH Password
: the optional password.Private Key File
: the private key file in thepem
orppk
Format used for SSH authentication. Click theUpload SSH key
to manage SSH keys using GUI. You can also upload the private key file manually and use the token{app.data}
as a part of the filename, for example,{app.data}/keys/secret.pem
. This parameter is optional.
SSH Passphrase
: the optional passphrase (password) used together with a private key file.
Comments
0 comments
Please sign in to leave a comment.