\n"; echo " | |
\n";
echo "Backup / Restore \n"; echo "The 'backup' button will tar gzip /tftpboot/ to /tmp/tftp.bak.tgz it then presents a file to download. \n"; echo "If the backup file does not exist in /tmp/tftp.bak.tgz then the 'restore' button will be hidden. \n"; echo "Use Diagnostics->Command->File to upload: to browse to the file and then click on upload it now ready to be restored. \n"; echo " \n"; echo " | \n";
echo "\n"; echo " \n"; if (file_exists('/tmp/tftp.bak.tgz')) { echo " \n"; } echo " | \n"; echo "
\n\n"; ?>
File Name (download) | Last Modified | Size | \n"; echo " \n"; echo " $file"; echo " "; echo " | \n"; echo "\n"; echo date ("F d Y H:i:s", filemtime('/tftpboot/'.$file)); echo " | \n"; echo "\n"; echo " ".$tftp_filesize; echo " | \n"; echo "\n";
echo "
| \n";
echo "\n";
}
}
closedir($handle);
}
?>