I created this gist from here https://github.com/23/resumable.js in order to modify the node.js sample for the purpose of allowing the uploaded file to be saved locally.
Instructions on how to see the answer to the following question http://stackoverflow.com/questions/33288192/resumable-js-cant-save-file-to-server-side-directory
- Create a directory (i.e. resumable-app)
- copy/paste the app.js (atleast), resumable.js and resumable-node.js from gist in the directory (you can copy the resumable.js and resumable-node.js from official github if you want too, not change has been made to them)
- copy/paste the
package.json
and do a npm install to get the modules (or manuallynpm install
theseexpress
,path
,fs
,connect-multiparty
) - create
uploads
directory in the main app directory and make sure it is writable