Windows Fileshare (SMB2) icon

Windows Fileshare (SMB2)

Access Windows network file shares via SMB2 protocol

Actions9

File → Move/Rename

AI-generated

Summary

Moves or renames a file on an SMB2 network share by renaming its path. Provide the current and new paths relative to the share root; the operation returns confirmation when the rename succeeds.

Inputs

  • Source File Path (required) — Current file path relative to the share root.
  • Destination File Path (required) — New file path relative to the share root.
  • Timeout (Ms) — SMB operation timeout in milliseconds; defaults to 30,000 ms.

Output shape

A single item containing a JSON object.

On success, the object includes the normalized source and destination paths, plus moved: true and success: true. Paths have forward slashes converted to backslashes and leading backslashes removed. Requires the Windows Network API credentials for the share. On failure, the node throws an error unless Continue On Fail is enabled, in which case it returns an item with an error field.

Links

Discussion