INTRODUCTION
This is a resumable upload module for Core Boxx, use this to help you deal with large file uploads.
LICENSE & DOWNLOAD
Core Boxx is released under the MIT License. You are free to use it for personal and commercial projects, and modify it 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.
Download Core Boxx Resumable Upload Module | GitHub | Source Forge
INSTALLATION & CREDITS
There is no database for this module, just unzip it into your existing Core Boxx project folder. This module is created with:
FILES LIST
flow/
The FlowPHP library.lib/LIB-Upload.php
Resumable upload library.lib/API-upload.php
Resumable upload API endpoint.pages/PAGE-upload.php
Demo upload page.assets/PAGE-upload.js
Demo upload Javascript.assets/flow.min.js
FlowJS
DEVELOPMENT NOTES
- Change
$upTemp
and$upDest
inlib/LIB-Upload.php
to 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…
USERS & SESSIONS REFERENCE
UPLOAD LIBRARY FUNCTIONS
Receive an upload.
Flush the entire temp upload folder.
UPLOAD API FUNCTIONS
Accessible at 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.