Open luggage66 opened 10 years ago
There is an alternate upload() function (called upload2()) that demos a few things:
I didn't redo any of your logic, just the stream / error handling.
All this one does it archive the file in var/files/{fileId} and also compute the sha1 (dumps to console).
Feel free to take part or none of this.
There is an alternate upload() function (called upload2()) that demos a few things:
I didn't redo any of your logic, just the stream / error handling.
All this one does it archive the file in var/files/{fileId} and also compute the sha1 (dumps to console).