pub async fn delete_file(&mut self, dir_path: &str) -> Result<(), crate::error::Error> {
        self.write_unary_command_expecting(
            "DELE",
            dir_path,
            vec![StatusCodeKind::RequestFileActionCompleted],
        )
        .await?;

        Ok(())
    }
/// Delete a file at a path.
Delete a file at a path.
Delete a file at a path .
pub async fn delete_file(&mut self, dir_path: &str) -> Result<(), crate::error::Error> {
        self.write_unary_command_expecting(
            "DELE",
            dir_path,
            vec![StatusCodeKind::RequestFileActionCompleted],
        )
        .await?;
        Ok(())
    }
pub async fn delete_file ( & mut self , dir_path : & str ) -> Result < ( ) , crate :: error :: Error > { self . write_unary_command_expecting ( " " , dir_path , vec ! [ StatusCodeKind RequestFileActionCompleted ] , ) . await ? ; Ok ( ( ) ) }
Delete a file at a path.
Delete a file at a path .
&mut self
dir_path
&str
&mut self
dir_path
&str