Windows Share Service
Overview
The Windows Share Service connects B2Win Suite to a Windows SMB (Samba) network share. It stores the host, domain, credentials, and optional root path used by Windows Share nodes.
Purpose
Use this service when workflows need to read, copy, or monitor files on a Windows network share.
Configure in B2Win Suite
Go to Configurations > Services and open Windows Share Service. Create a new configuration or edit an existing one.
| Field | Required | Description |
|---|---|---|
| Host | Yes | Hostname or IP address of the server that hosts the share, such as fileserver01 or 192.168.1.10. |
| Domain | Yes | Windows domain for the account. |
| User | Yes | Username used to authenticate to the share. |
| Password | Yes | Password for the configured user. |
| Path | No | Root path to the directory where files are stored. Node-level paths are resolved relative to this path. |
Click Test Connection to verify the credentials and connectivity, then Save to store the configuration.
For administrator override settings, see Services Configuration. For user-specific settings, see My Services.
Usage
Once configured, this service can be selected in the following nodes:
- Copy File (Win Share) - copy output files to a directory on the Windows share.
- Read File (Win Share) - read files from the Windows share.
- File Listener (Win Share) - trigger a workflow when matching files change on the share.
Example
Use a Windows Share service for a finance shared folder:
| Field | Example Value |
|---|---|
| Host | fileserver01 |
| Domain | CORP |
| User | b2win_service |
| Path | \\finance\\exports |
In Read File (Win Share), set the file path to daily/*.xlsx to read Excel files from the configured finance export folder.
Troubleshooting
- Verify the host is reachable from the B2Win Suite server (ping or telnet on port 445).
- Confirm the domain, username, and password are correct.
- Ensure the user account has read/write permissions on the target share.
- Check that SMB access is not blocked by a firewall.
Notes / Limitations
- SMB connections are opened from the B2Win Suite server, not from the user's browser.
- Node paths are resolved against the configured service Path when a root path is provided.
- The service uses timeout settings internally for SMB connection and read operations.