startBackup( '../../survey/', 'survey' );
// FTP-Upload starten
$infoF = $fileBackup->curlUpload( );
$files = glob('./*.zip'); // get all zip file names
foreach($files as $file){ // iterate files
if(is_file($file)) {
unlink($file); // delete file
}
}
echo 'Dateigröße: ' . $infoF['size_upload'] . '
';
echo 'Geschwindigkeit: ' . $infoF['speed_upload'] . '
';
echo 'Gesamtzeit: ' . $infoF['total_time'] . '
';
//print_r($infoF);
?>