This is a resumable upload module for Core Boxx, use it to help you deal with large file uploads.
TABLE OF CONTENTS
|Download & Notes||Quick Reference|
DOWNLOAD & NOTES
First, here are the download links and a quick “setup guide” for the impatient folks who don’t want to read through everything.
LICENSE & DOWNLOAD
Core Boxx is released under the MIT License. You are free to use it for personal and commercial projects, modify as you see fit. On the condition that the software is provided “as-is”. There are no warranties provided and “no strings attached”. Code Boxx and the authors are not liable for any claims, damages, or liabilities.
INSTALLATION & REQUIREMENTS
- Download and set up the “Main Core Boxx” if you have not already done so.
- Just unzip in your project folder.
- That’s all. Launch
http://your-site.com/uploadand test it out.
This section is a quick walkthrough of the general module structures.
UPLOAD LIBRARY FUNCTIONS
Receive an upload.
Flush the entire temp upload folder.
UPLOAD API FUNCTIONS
http://yoursite.com/api/upload/REQUEST/. These are pretty much a replica of the above library functions.
Flow PHP upload endpoint.
Flush out all the temp upload files.
MORE DEVELOPMENT NOTES
lib/LIB-upload.phpto set your own upload path.
- The module is extremely basic out-of-the-box, with code that is pretty much copy-and-pasted from the FlowPHP documentation.
- Do your own upload checks and processes! Limit uploads to registered users only, give each user a separate folder, set an upload quota, limit file types, protect the flush function, etc…