public function pasv($flag = true)
    {
        return ($this->isConnected() === true) ? ftp_pasv($this->getConnection(), $flag) : false;
    }
public function pasv($flag = true)
    {
        return ($this->isConnected() === true) ? ftp_pasv($this->getConnection(), $flag) : false;
    }
public function pasv ( $ flag = true ) { return ( $ this -> isConnected ( ) === true ) ? ftp_pasv ( $ this -> getConnection ( ) , $ flag ) : false ; }
Switch the passive mod.

@param (bool) $flag flag

@since 3.0.0

@return bool
Switch the passive mod .