From dceb67ec01824f07e585d7894888721ee4eb2590 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 6 May 2011 15:39:27 -0400 Subject: Add a TFTP package fixed for pfSense 2.0 --- config/tftp2/tftp_files.php | 257 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 257 insertions(+) create mode 100644 config/tftp2/tftp_files.php (limited to 'config/tftp2/tftp_files.php') diff --git a/config/tftp2/tftp_files.php b/config/tftp2/tftp_files.php new file mode 100644 index 00000000..a55e92c6 --- /dev/null +++ b/config/tftp2/tftp_files.php @@ -0,0 +1,257 @@ + + + + +

TFTP: Files

+ + + +
+ + +
+ +
+ + + + \n"; + echo "\n"; + echo "\n"; + echo "\n"; + echo "
+ + + + + +

TFTP files
+
+ Trivial File Transport Protocol is a very simple file transfer + protocol. Use the file upload to add files to the /tftpboot directory. + Click on the file from the file list below to download it. +

+
+ + +
+
+ + + + + + + + + + + +
File to upload: + +
    +
+
+ + +
+
+ + \n"; + echo "
\n"; + echo "Backup / Restore
\n"; + echo "The 'backup' button will tar gzip /tftpboot/ to /root/backup/tftp.bak.tgz it then presents a file to download. \n"; + echo "If the backup file does not exist in /root/backup/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"; + if (file_exists('/root/backup/tftp.bak.tgz')) { + echo " \n"; + } + echo "
\n"; + echo "

\n\n"; + ?> + + + + + + + + + + \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo "\n"; + + } + } + closedir($handle); + } + ?> + + + + + +
File Name (download)Last ModifiedSize
\n"; + echo " \n"; + echo " $file"; + echo " "; + echo " \n"; + echo date ("F d Y H:i:s", filemtime('/tftpboot/'.$file)); + echo " \n"; + echo " ".$tftp_filesize; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + echo "
\n"; + echo "
+ + +
+
+
+
+
+
+ + + + + +
+ + + + -- cgit v1.2.3