SMB icon

SMB

Perform CRUD operations on SMB/Samba file shares

Actions8

File → Rename

AI-generated

Summary

Renames a file on the configured SMB share from its current path to a new path. Runs once for each input item and returns the old and new paths when successful.

Inputs

  • Current File Path (required) — Path of the file to rename on the SMB share, for example /path/to/oldfile.txt.
  • New File Path (required) — Destination path on the SMB share, for example /path/to/newfile.txt. The node calls the SMB rename operation with the share-qualified source and destination paths.

Output shape

One JSON item per input item on success.

Each successful item contains success: true, oldPath, and newPath, and remains paired with its input item. Requires SMB credentials. Rename errors fail the operation unless the node is configured to continue on fail; then the item contains success: false and an error message.

Links

Discussion