Appendix H: Custom Web Pages
X-600M Users Manual
Otherwise, valid paths are “/usb/” and “/ram/”,
which will search for the file on the external usb
drive, and the internal ram drive respectively.
There are a couple of things that cannot be accomplished using the templating engine or the X-600M javascript
helper library. These are deleting custom files and downloading custom files. To achieve this functionality, there
are two special files that can be requested along with the name of the file to delete or download. These files will
only allow custom files found in the internal flash, external usb drive, or internal ram drive to be deleted or
downloaded.
To delete a custom file request the following either from a javascript function or the browser's address bar
directly:
deleteFile.php?filename=fileToDelete.ext
To download a custom file request the following either from a javascript function or the browser's address bar
directly:
downloadFile.php?filename=fileToDownload.ext
The filename can contain the path to the file, which indicates where the file is located:
downloadFile.php?filename=/usb/fileToDownload.ext
downloadFile.php?filename=/ram/fileToDownload.ext
downloadFile.php?filename=fileToDownload.ext
Page 148
Xytronix Research & Design, Inc.
Содержание X-600M
Страница 1: ...X 600MTitle Page Goes Here...
Страница 6: ...X 600M Users Manual Page 4 Xytronix Research Design Inc...
Страница 99: ...X 600M Users Manual Setup Pages Xytronix Research Design Inc Page 97...
Страница 116: ...Appendix B Installing New Firmware X 600M Users Manual Page 114 Xytronix Research Design Inc...