4 configuration options · available in Rust, Python, Node.js
use opendal::Operator;
let op = Operator::via_iter("ftp", [
])?;
use opendal::Operator;
let op = Operator::via_iter("ftp", [
// endpoint of this backend
// ("endpoint".to_string(), "...".to_string()),
// root of this backend
// ("root".to_string(), "...".to_string()),
// user of this backend
// ("user".to_string(), "...".to_string()),
// password of this backend
// ("password".to_string(), "...".to_string()),
])?;
Every option is passed as a string key; OpenDAL parses it into the right type. Some services may require building the binding with the matching services-* feature enabled.
| Key | Type | Required | Description |
|---|---|---|---|
endpoint | string | no | endpoint of this backend |
root | string | no | root of this backend |
user | string | no | user of this backend |
password | string | no | password of this backend |