Actions9
- Connection Actions
- File Actions
- Directory Actions
File → Move/Rename
AI-generatedSummary
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: trueandsuccess: 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 anerrorfield.