This service can be used to:
endpoint: Set the endpoint for connectionroot: Set the work directory for backenduser: Set the login userpassword: Set the login passwordYou can refer to [FtpBuilder]'s docs for more information
use opendal_core::Operator; use opendal_core::Result; use opendal_service_ftp::Ftp; #[tokio::main] async fn main() -> Result<()> { let mut builder = Ftp::default() .endpoint("127.0.0.1"); let op: Operator = Operator::new(builder)?.finish(); Ok(()) }