luggage66 / thermite

A proof of concept for multi-node sqlilte
0 stars 1 forks source link

file upload structuring recomendation #4

Open luggage66 opened 10 years ago

luggage66 commented 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).

luggage66 commented 10 years ago

Feel free to take part or none of this.