Write File (Upload)
Uploads a local file, a 'PAWFileData' object or a byte array to the FTP server.
LocalFilePath, File and Data are alternative sources. If LocalFilePath is set, the file is read from disk.
⬅️INPUT
Parameter | Type | Required | Description |
|---|---|---|---|
| ✅Yes | FTP connection details | |
|
| ✅Yes | Target file path on the FTP server |
|
| ❌No | Local file path to upload |
|
| ❌No | File object to upload (if the |
|
| ❌No | File content (alternative to |
|
| ❌No | Whether to overwrite the existing file (default: false) |
➡️OUTPUT
Parameter | Type | Description |
|---|---|---|
|
| Upload success status |
|
| Status message or error detail |
⬇️MISC
Parameter | Type | Default | Description |
|---|---|---|---|
|
| ❌No | Throw exception on error (default: false) |