HFS: Virtual File System menu

From rejetto wiki
Revision as of 11:37, 10 May 2020 by Rejetto (talk | contribs) (diff template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Virtual File System Menu

Copy URL
Copies the URL to the clipboard.
Get passworded URL
Copies the URL to the clipboard. The resultant URL integrates the username and password necessary to access the file.
Specifying the username/password through the URL is a less secure system, but it is easier to use and more secure than no password at all.
Set the link.
Browse it
Opens your default web browser on the item's URL.
Open it
Opens the selected item on the server computer.
Specify a comment for the item. It is displayed in the client when browsing.
Select a different icon for the item.
Diff template
This works as the HTML template, but just applies to the selected folder (and below). Using this feature you can have a different template in every folder. The "diff" stands for difference, indeed you can specify only the sections of the template you want to change, not necessarily the whole template. The sections you specify will be added/overwritten to the main template. If you prefer you can keep the text in a file, and enter in this box just the path of the file. If your folder is a real folder, it will also try to load a file named hfs.diff.tpl in it.
Switch to virtual-folder
Changes a real folder into a virtual folder.
New folder
Adds a virtual folder.
New link
Adds a "link" item. A link has a URL, so you can link to anything on the Internet.
Renames the item in the VFS.
Removes the item from the VFS.
Edit resource
Allows you to change the folder or file which the VFS points to.
If you copy a file from Explorer, you can then paste it into the VFS.
Add files
Opens a dialog where you can select files to be added.
Add folder
Opens a dialog where you can select a folder to be added.
Files/Folders filter
If you set a filter for files/folders, then some items are hidden. This works like the "Hide" command, so refer below for more details. The only files displayed are those that match the filter mask. For more information, check here.
Default file mask.
When a folder is browsed, the default file mask is used to find a file to serve in place of the folder page. If no file is found, the folder page is served.
Don't count as download :mask
Files matching this filemask are not added to the global downloads counter. They also never use the tray icon.
Don't Log
Prevents hfs from adding any request for the file/folder to the log.
Set user/pass
You can protect an item by password. This is an on-the-fly protection, if you need something more permanent, use the account system (users).
Reset user/pass
Removes username/password protection. This just affects the item referenced by the Set option, it does not alter the account protection.
Restrict access
Protects an item by restricting access to specified users. Before using this option you must configure some accounts. (Putting a tick next to a user grants them access to that item.)
Visible only to anonymous users
Displays an item to anonymous users, but not to users who have logged in.
Customized realm
Specify a realm for the item's login dialog box.
Allow specified users to upload to this folder.
Let browse
Allow or disallow browsing for the selected folder.
Let download
Allow or disallow users to download a file. Since for real-folders you can't set the option clicking on the files, you can set the option on the folder, and it will be inherited by the files.
If you don't want people to know about a file that is in your VFS, you can just hide it. This does not actually prevent retrieval; in fact you can give the full URL of the file to your friends and they will still be able to download it. It simply does not display the file when people are browsing through the VFS. This is not the most secure way to protect your files from unwanted access, although it is quite reasonable since people do not normally know the name of the file you are hiding.
This is also useful when you add eg. a folder full of images to your site, but don't want users to see it, or be distracted by it.
Hide tree
Identical to the option above, but it also includes subitems.
Auto-hide empty folders
Prevents empty folders from being displayed.