Actions10
- Connection Actions
- File Actions
- Directory Actions
File → Copy
AI-generatedSummary
Copy a file from source to destination within an SMB2 network share, with optional overwrite control and share overrides.
Inputs
- sourceFilePath (required) — Current path to the file relative to the share root
- destinationFilePath (required) — New path for the file relative to the share root
- overwrite — What to do if the file already exists in the share; 'yes' replaces the existing file, 'no' raises an error and stops execution
- sourceShareOverride — Override the source share defined in credentials
- destinationShareOverride — Override the destination share defined in credentials
- options — Timeout and share configuration for SMB operations; contains 'timeout' (number, ms) and 'shareOverride' (string)
Output shape
success: true, from:
Indicates the operation succeeded and identifies the source and destination shares used.