Connect to Server Message Block (SMB) shares to sync data between folders and Foundry datasets. Common examples of SMB servers include Windows File Server and Samba File Server.
Capability | Status |
---|---|
Exploration | 🟢 Generally available |
Bulk import | 🟢 Generally available |
Incremental | 🟢 Generally available |
File exports | 🟢 Generally available |
The SMB connector supports SMB protocol versions 2 and 3.
The connector can transfer files of any type into Foundry datasets. File formats are preserved, and no schemas are applied during or after the transfer. Apply any necessary schema to the output dataset, or write a downstream transformation to access the data.
There is no limit to the size of transferable files. However, network issues can result in failures of large-scale transfers. In particular, direct cloud syncs that take more than two days to run will be interrupted. To avoid network issues, we recommend using smaller file sizes and limiting the number of files that are ingested in every execution of the sync. Syncs can be scheduled to run frequently.
Learn more about setting up a connector in Foundry.
The following configuration options are available for the SMB connector:
Option | Required? | Description |
---|---|---|
Hostname | Yes | The domain name pointing to the server or the IP address of the server. |
Port | No | The port on which the SMB server is running. |
Share | Yes | The name of the SMB share you are connecting to. |
Username | Yes | The SMB login username. |
Password | Yes | The SMB login password. |
Domain | No | The Active Directory domain of the SMB login account. Leave blank if the login account is not an AD user. |
The SMB connector must be able to reach Hostname
on Port
(445 by default). If you are using a direct connection, you must use a TCP policy.
The SMB connector uses the file-based sync interface.
To export to an SMB share, first enable exports for your SMB connector. Then, create a new export.
Option | Required? | Default | Description |
---|---|---|---|
Directory path | Yes | / | The path to the folder in the SMB share where files should be exported. The full path for an exported file is calculated as <Share>/<Directory Path>/<Exported File Path> |