public function _after(TestInterface $test)
    {
        $this->_closeConnection();

        // Clean up temp files
        if ($this->config['cleanup']) {
            if (file_exists($this->config['tmp'] . '/ftp_data_file.tmp')) {
                unlink($this->config['tmp'] . '/ftp_data_file.tmp');
            }
        }
    }
public function _after(TestInterface $test)
    {
        $this->_closeConnection();

        // Clean up temp files
        if ($this->config['cleanup']) {
            if (file_exists($this->config['tmp'] . '/ftp_data_file.tmp')) {
                unlink($this->config['tmp'] . '/ftp_data_file.tmp');
            }
        }
    }
public function _after ( TestInterface $ test ) { $ this -> _closeConnection ( ) ; // Clean up temp files if ( $ this -> config [ 'cleanup' ] ) { if ( file_exists ( $ this -> config [ 'tmp' ] . '/ftp_data_file.tmp' ) ) { unlink ( $ this -> config [ 'tmp' ] . '/ftp_data_file.tmp' ) ; } } }
Close the FTP connection & Clear up
Close the FTP connection & Clear up