[io.file.copy]
io.file.copy is a slot in the io namespace, in Hyperlambda, the language of Magic Cloud. Copies a file on the server.
- Value (
file-path), required: Source file path
Arguments
Required arguments come first, then the optional ones in the order they are declared.
| Argument | Type | Required | Description |
|---|---|---|---|
| any node name | string | yes | Destination path. |
Guide: How to use [io.file.copy]
JSON declaration
This is the complete declaration of io.file.copy, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "io.file.copy",
"description": "Copies a file on the server",
"signature": {
"input": {
"kind": "file-path",
"description": "Source file path",
"required": true,
"mode": "ValueOrExpression"
},
"children": {
"*": {
"type": "string",
"kind": "file-path",
"description": "Destination path",
"required": true,
"mode": "ExecutableLambda",
"cardinality": "ExactlyOne"
}
}
}
}
← io.content.zip-stream |
all io.* slots |
io.file.delete → |