SMB2 using smbclient icon

SMB2 using smbclient

Interact with SMB shares using the smbclient CLI

Folder → Make Directory

AI-generated

Summary

Create a new folder at the specified path on the SMB share using the smbclient CLI.

Inputs

  • Smbclient Path — Optional custom path to the smbclient binary if it is not in the system PATH (defaults to 'smbclient').
  • Directory (required) — The full path of the directory to create on the SMB share.

Output shape

a single JSON object with fields 'directory' (the path of the created folder) and 'created' (boolean true indicating success).

The output confirms the creation of the directory. The operation requires valid SMB2 credentials configured in the node and uses the smbclient CLI to perform the action.

Examples

Example 1: Create a new directory '/newFolder' on the SMB share

Set 'Directory' to '/newFolder' and optionally specify 'Smbclient Path' if needed.

Links

Discussion