copy-asset
Copies a file within the Foundry Data directory over WebDAV, automatically creating missing parent folders. Prevents copying to live world-DB destinations.
Instructions
Plane B (file channel, write). Copy a file under the Foundry Data/ root over WebDAV; missing destination parent folders are created automatically. (Copying does not affect existing references, so no reference check is needed.) Refuses live world-DB destination paths. Requires MOLTEN_WEBDAV_PASSWORD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toPath | Yes | Destination Data-relative path. | |
| fromPath | Yes | Source Data-relative path. | |
| overwrite | No | Allow overwriting an existing file at the destination. |