Core Boxx – Resumable Upload Module

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.

Download Core Boxx Resumable Upload Module | GitHubSource Forge

 

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/upload and test it out.

 

 

CREDITS

 

QUICK REFERENCE

This section is a quick walkthrough of the general module structures.

 

UPLOAD LIBRARY FUNCTIONS

recv()

Receive an upload.

flush()

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.

api/upload/recv/

Flow PHP upload endpoint.

api/upload/flush/

Flush out all the temp upload files.

 

MORE DEVELOPMENT NOTES

  • Change $upTemp and $upDest in lib/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…

Leave a Comment

Your email address will not be published. Required fields are marked *