Actions9
- Connection Actions
- File Actions
- Directory Actions
File → Write
AI-generatedSummary
Write text or incoming binary data to a file on the configured SMB2 share. The operation returns the normalized share-relative path, byte size, input type, and a success flag.
Inputs
- File Path (required) — Path to the destination file relative to the share root. Forward slashes are converted to backslashes and leading backslashes are removed.
- Input — Choose Text (default) to write the File Content value, or Binary to write bytes from an incoming binary field.
- File Content (required) — Text to write when Input is Text.
- Encoding — Encoding used to convert File Content to bytes; defaults to UTF-8. Options are UTF-8, ASCII, Latin1, UTF-16LE, Base64, and Hex.
- Input Binary Field (required) — Name of the incoming binary property containing the bytes to write; defaults to data. Used when Input is Binary.
- Timeout (Ms) — SMB operation timeout in milliseconds; defaults to 30000, with the credential timeout used as a fallback.
Output shape
One output item per input item, with a JSON object describing the write.
The JSON includes filePath, size in bytes, input (text or binary), success: true, and encoding for text writes. Binary writes do not include encoding. Errors stop execution unless Continue On Fail is enabled, in which case the item contains an error field.