File downloads, done safely
FileSafe is a file download management tool for Rapidweaver. Using the flexibility of Stacks and the power of FileSafe you can create file sharing pages and links that hide the location of your download files, force download (rather than opening in the browser) and can be tracked.
FileSafe can hide location of download file, force downloads, prevent hot-linking, prevent indexing of download files, support multiple storage locations, track downloads, and more!
Follow these steps for getting this stack setup and working in your RapidWeaver website.
- Add a FileSafe Setup stack to your page.
- Add a FileSafe Link stack where you want the download link to be.
- Input the file name of your download file in the UI.
- Input the download link text in Display Text
- Add the text surrounding the link to the stack.
- Add your download file to the resources folder.
Extended features and setup
Hides location of download file
Links are scrambled and encoded to hide the location of your files. This is a default function of this stack set and cannot be turned off.
PDFs, JPEGs, etc will be downloaded and not opened by the browser. This does not override what your computer does with the file once it's downloaded. This is a default function of this stack set and cannot be turned off. This also requires that download file types be predefined (a complete list of file types can be found below). If you need a file type not in the list, let us know.
Prevent hot-linking (optional)
This prevents links from working when they aren't clicked on from the approved domains. To turn this feature on, simply enter the domains you want to allow to host the download links.
Need to give people a download link?
Give the Link stack a "Stack ID" and give people a link that ends with # and a the "Stack ID". Example: Stack ID = locker1 link = http://domain.com/#locker1
Prevent indexing of download files (optional)
This is achieved by placing your download files in a folder outside your public_html/www folder. Then uncheck "RW Resources" and type the path to that folder in "Server Path" in the FileSafe Setup stack.
Supports multiple storage locations (optional)
This is handy when you want to have downloadable files in different folders on the server or different settings for some downloads. To use this feature add a FileSafe Setup stack for each location. Change "File Location ID" to a unique number in the UI of each Setup stack. Then, as you add Link stacks, assign them the "File Location ID" you gave the setup stack pointing to the correct folder. Note: File Location ID can be one-word codes as well.
Tracks downloads (optional)
This feature will log the date, time(server's time), IP address and file name for each download. The download log is created and stored in the "files" folder for that page and is named FileSafeDownload.log. This can be turned on by checking "Log Downloads." If you would like to provide access to the log from the web site, you can type a special code (numbers & letters only) in "Show Log Code." Then provide a link that ends with ? and the "Show Log Code". When the link is active, two links will be displayed: "Get download log" and "Clear log." Example: Show Log Code = getLog link = http://domain.com/?getLog
Styling extras (Link Stack only)
Some features were added to this stack to maximize its usefulness and validation. Each styling element is discussed on the what it can do page.
Build a simple form to collect more information from your visitors (optional)
This will present a form that vistors can be required to fill out before downloading. Collected data will be stored in the download log. To use this, drop a FileSafe Link stack on the page and change the Download Type to Form style. In the Form Fields input you can type your field names. Add an asterisk to the end of the field name you wish to require.
Set FileSafe links on any page of your website (optional) (optional)
To use this feature, go to the FileSafe Link stack (or RW style), check the Preview Link box and then switch to preview mode. Now copy the link out of the box display just above the actual link. This link stack must be on the same page as the setup stack but does not have to stay after you've copied the link.
FileSafe is a stack developed and supported by Tom Bristol.
This stack requires RapidWeaver and the YourHead Stacks plugin. It will not work with other platforms (like Wordpress). We recommend you aim towards installing the latest version of RapidWeaver that your computer is capable of running (preferably RapidWeaver 6 or greater) and Stacks 3 or later.
You may use this purchased stack an unlimited number of times in personal or commercial projects, request technical support and receive free updates in future.
This stack can be installed or synced onto all computers that you own. You are permitted to make archival backup copies of the stack.
You may not resell or make this stack available for download, remove copyright credits or license information.
The software is provided "as is" without any implied or expressed warranty of merchantability or fitness for purpose. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise arising from, out of or in connection with the software or the use or other dealings in the software.
By purchasing this stack, you agree that your purchase will be available immediately via digital download and that you waive your statutory right of withdrawal.
All purchases are final and refunds will not be provided (we physically cannot un-download or remove stacks from your computer).
You are reminded to make use of the free demo version already provided on the website, to fully evaluate this stack for compatibility and suitability before purchase.
If you have questions that relate specifically to this stack, you should make contact via the support page. We aim to answer all messages within 12 hours, Monday to Friday.
If you require a faster response at weekends or during public holidays, please post your question(s) to the RapidWeaver forums, where a support volunteer may be able to assist you quicker.
Free demo versionsWe provide free demo versions of all our stacks, so you can try before you buy! In the free demo's, automatic updates are disabled, a credit is displayed below the stack, and the stack fades out of view after 60 seconds. There are no trial expiries or disabled features. Buy with the confidence of knowing what you're getting.
What is a Stack?A stack is a drag-and-drop component you can add to your webpages. These individual stack elements can be used to quickly add extra layout or functionality. Stacks work inside the Stacks plugin by YourHead software; an extremely popular plugin for RapidWeaver.
Learn more >
Customer supportQuestions, feature requests, bug reports, or advice required about our stacks? No problem, we're here to help you. Fast and friendly expert support direct from the developers. No lousy FAQs, canned responses, complicated ticket systems or outsourced support agents here!
Learn more >