File Operations π‘ BETA
File operations are gated by the drive feature and use single-argument file keywords.
Example
content = READ "inbox/report.txt"
What it does
The catalog registers READ, WRITE, LIST, COPY, MOVE, DELETE FILE, UPLOAD, DOWNLOAD, CREATE FILE, READ TEXT, COMPRESS, EXTRACT, GENERATE PDF and MERGE PDF.
Keyword β effect
| Keyword | Effect |
|---|---|
READ |
Load a file |
WRITE |
Store content |
LIST |
Enumerate a folder |
COPY / MOVE |
Relocate a file |
DOWNLOAD / UPLOAD |
Move data across the boundary |
Limits
- Listed in the closed keyword catalog in
botserver/src/basic/keywords/mod.rs; the runtime reference publishes no exact signature for it, so this page does not invent one. - Listed in the closed keyword catalog in
botserver/src/basic/keywords/mod.rs; the runtime reference publishes no exact signature for it, so this page does not invent one. - Available only when the
driveCargo feature is enabled (botserver/src/basic/keywords/mod.rs). READ FILE,WRITE FILE,LIST FILESandGET FILEare phantoms and are not available.