The first thing you need to do is to download a copy of File Thingie. It's compressed as a zip archive. After you've downloaded the zip file you should unzip it and open ft2.php in a text editor (Notepad is fine). You will need to change some settings to match your requirements.
Scrolling past the contact and license information at the top will take you to the settings section. Each setting has the following format:
define("ATTRIBUTE", "value");
You will only need to change the part after the comma (the "value"), never the attribute (which is always capitalized). The settings are described below. For a quick installation you only need to change the username, password and directory. After changing the relevant settings upload ft2.php to your webserver. Point your browser to the URL for the file and login.
As of version 2.0.3 File Thingie can automatically check for updates. By default File Thingie will not check for updates automatically. A status box will be displayed when the check has been made notifying you of the results. Click the Dismiss button to reset the update counter.
You can turn on automatic update checking by setting the AUTOUPDATES setting to a number greater than 0.
If you want to check manually there is a small link called “Check for new version” at the bottom of every page. Click that link to contact this website and check if a new version of File Thingie has been released. If a newer version is available you will get a download link and a link to see what changes has been made in the new version. If no newer version is available you will be informed of your version and the newest version as reported by this website.
If no information is displayed or if a blank box appears the feature is broken and I would love to recieve a bug report from you! Both the automatic and manual updates sends the URL of File Thingie for statistic purposes. This data will never be shared with anyone.
In the list of files directories (folders) will be listed at the top and their name will be bolded. Click the directory name to enter that directory and get a listing of the files in that directory.
The header at the top of the page will always show your current directory. Each part of the header will also link to the respective directory. You can use this to move up in the directory structure. The "Files in: " link takes you to the home directory.
File Thingie support uploading of multiple files at once. You accomplish this by selecting the files you want to upload one by one.
Select a file as in a normal file upload. After you have chosen a file it is automatically added to a list of files ready for upload. When your file is listed you can then use the same file upload widget to select another file.
When you have selected all the files you wish to upload click the 'upload' button to start the upload. This may take a while if you have many files to upload.
Files will be uploaded to the current directory.
To create a directory as a subdirectory in the current directory type the name you want in the input field and click the 'Ok' button.
The sidebar contains a section for searching files and folders. Enter your search term in the input field and click the search button to perform the search. Results will automatically be inserted below the input field. The checkbox labeled “Search only this folder and below” controls whether the search should be limited to the current folder and any subdirectories (this is the default) or if all files in the system should be searched.
Only file names and folder names are searched. The contents of files are not searched.
Search results have two links. The first link (the file name) points directly at the file. The second link (the folder name) links to the folder where the file resides. Clicking this link will take you to that folder and the file will be highlighted.
Files that can be modified has a diamond (◊) next to the file name. Clicking the diamond will show a menu. It will default to renaming the file. To rename the file enter the new file name in the field and click the 'ok' button. To move a file enter the folder you want to move the file to in the field and click 'ok'. To move files up in the folder structure type "../". For example if you want to move a file two levels up and then into the directory "test" you would type "../../test" (without the quotes). To delete a file click the confirmation button. Nb. the file will be permanently deleted! To duplicate a file enter a new file name (one will be suggested for you) and click 'ok'.
When a file can be edited a new menu item called 'edit' will appear when clicking a file's diamond. Clicking this and the confirmation button will take you to a page where you can edit the contents of that file. Before saving you are given the option of converting spaces to tabs. When this checkbox is checked every four (4) spaces are converted to tabs.
Below the settings section you can customize the design of File Thingie by changing the colours. There are three background colours and two text colours:
File Thingie supports multiple users with individual directories using only a single copy of File Thingie on your server. This allows you to give a group of people access to their own directory while not being able to access the files of the other group members. You set up additional users in the section below the colour section. By default additional users have been rendered inactive and you will need to remove the comments surrounding the section. Thus:
/*
$users['REPLACE_WITH_USERNAME']['password'] = "REPLACE_WITH_PASSWORD";
$users['REPLACE_WITH_USERNAME']['dir'] = "REPLACE_WITH_CUSTOM_DIRECTORY";
*/
Should be changed to:
$users['REPLACE_WITH_USERNAME']['password'] = "REPLACE_WITH_PASSWORD";
$users['REPLACE_WITH_USERNAME']['dir'] = "REPLACE_WITH_CUSTOM_DIRECTORY";
Then you can set up additional users by editing those two lines of code. You can add additional users by copying those two lines more than once. E.g. if you want to give access to the users "alfred" (with password "hitchcock" and the directory "rearwindow") and the user "steven" (with password "soderbergh" and the directory "traffic") you would have the section read:
$users['alfred']['password'] = "hitchcock";
$users['alfred']['dir'] = "rearwindow";
$users['steven']['password'] = "soderbergh";
$users['steven']['dir'] = "traffic";