pub async fn extended_passive_mode_connection(
        &mut self,
    ) -> Result<TcpStream, crate::error::Error> {
        let response = self
            .write_command_expecting("EPSV", vec![StatusCodeKind::EnteredExtendedPassiveMode])
            .await?;
        let socket = self.decode_extended_passive_mode_socket(&response.message)?;

        Ok(TcpStream::connect(socket).await?)
    }
/// Create a extended passive mode connection.
Create a extended passive mode connection.
Create a extended passive mode connection .
pub async fn extended_passive_mode_connection(
        &mut self,
    ) -> Result<TcpStream, crate::error::Error> {
        let response = self
            .write_command_expecting("EPSV", vec![StatusCodeKind::EnteredExtendedPassiveMode])
            .await?;
        let socket = self.decode_extended_passive_mode_socket(&response.message)?;
        Ok(TcpStream::connect(socket).await?)
    }
pub async fn extended_passive_mode_connection ( & mut self , ) -> Result < TcpStream , crate :: error :: Error > { let response = self . write_command_expecting ( " " , vec ! [ StatusCodeKind EnteredExtendedPassiveMode ] ) . await ? ; let socket = self . decode_extended_passive_mode_socket ( & response . message ) ? ; Ok ( TcpStream :: connect ( socket ) . await ? ) }
Create a extended passive mode connection.
Create a extended passive mode connection .
&mut self
&mut self