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

        Ok(())
    }
/// Change the working directory on the current session.
Change the working directory on the current session.
Change the working directory on the current session .
pub async fn cwd(&mut self, dir: &str) -> Result<(), crate::error::Error> {
        self.write_unary_command_expecting(
            "CWD",
            dir,
            vec![StatusCodeKind::RequestFileActionCompleted],
        )
        .await?;
        Ok(())
    }
pub async fn cwd ( & mut self , dir : & str ) -> Result < ( ) , crate :: error :: Error > { self . write_unary_command_expecting ( " " , dir , vec ! [ StatusCodeKind RequestFileActionCompleted ] , ) . await ? ; Ok ( ( ) ) }
Change the working directory on the current session.
Change the working directory on the current session .
&mut self
dir
&str
&mut self
dir
&str