filetransfer trait: mkdir, remove
@@ -91,6 +91,16 @@ pub trait FileTransfer {
fn list_dir(&self) -> Result<Vec<FsEntry>, FileTransferError>;
+ /// ### mkdir
+ ///
+ /// Make directory
+ fn mkdir(&self, dir: String) -> Result<(), FileTransferError>;
+
+ /// ### remove
+ ///
+ /// Remove a file or a directory
+ fn remove(&self, file: FsEntry) -> Result<(), FileTransferError>;
+
/// ### send_file
///
/// Send file to remote
