Programmers can have their scripts reside in a safe folder, or will be able to put their WP folder outside the accessible web directories on the server.
There are 2 links to files the plugin uses. One is a URL to the file itself which loads it as your browser supports the mimetype. The second is a forced download link, which is almost the same as the first with additional headers.
There are 2 choices for the option of link type, default, and mod_rewrite. Default simply uses query variables, while mod_rewrite actually modifies your .htaccess file independantly of WordPress rewrite rules which may have already been added.
What is going on is: First the plugin uses the file path relative to the base directory to read the contents of the file example.txt into a variable, and then those contents are sent to the chosen display template named 'text'.
Templates are how all files are displayed within posts. There is no limit to how many it can have, and there is virtually no limit as to what it can be done with them. Their format is similar to how WordPress themes are dealt with and edited.
Installation
Unpack and upload it to the /wp-content/plugins/ directory.
Activate the plugin through the 'Plugins' menu in WordPress.
Navigate to the settings menu in the admin, and configure the settings of WP File-Tree
Make sure there is at least a test file in the base directory before testing the shortcode.
Requirements:
· WordPress 2.5 or higher
Top 4 Download periodically updates information of WP File-Tree 1.1.2 script from the developer, but some information may be slightly out-of-date.
Our script download links are directly from our mirrors or publisher's website. WP File-Tree 1.1.2 torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!