PDF ohne PWD in V1.4; FDPI hinzugefügt

This commit is contained in:
aschwarz
2023-08-24 12:52:17 +02:00
parent 2d73a1b10b
commit 3f9a0b1cc4
191 changed files with 19632 additions and 0 deletions

View File

@ -0,0 +1,25 @@
<?php
include_once ('Directory_Backup_Service.php');
$fileBackup = new Directory_Backup_Service( );
// Backup erstellen
$fileBackup->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'] . '<br>';
echo 'Geschwindigkeit: ' . $infoF['speed_upload'] . '<br>';
echo 'Gesamtzeit: ' . $infoF['total_time'] . '<br><br>';
//print_r($infoF);
?>