You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WebWorker usage for file reading (avoid thread blocking)
estimateTime {ReactiveVar} - Remaining upload time in milliseconds
estimateSpeed {ReactiveVar} - Current upload speed in bytes/second
onError - Callback, triggered when upload is finished with error
onAfterUpload - Callback, triggered right after file fully written to FS, use to run further tasks with file itself, like move to third-party storage
interceptDownload - Callback, intercept download request, so you can serve file from third-party resource
Better server performance: If new chunk received after previous, it's will be appended (instead creating new file for each chunk), after upload all appended chunks is merged to single file
Better dynamic logic for chunkSize and streams
Fix all issues about uploading large files
Less data transfer
Keep one worker
Append chunks, but only which comes in order
Pass fileData as second argument to onProgress and onbeforeunloadMessage callbacks
Security update(s):
Remove server-only configuration on client, like: integrityCheck, downloadCallback, storagePath, etc.
Overall functions/variables protection from prying eyes
Fix #70 - Now data stored in DropBox, see example to do it yourself
Fix #69 - Now file reading uses smaller chunks, please tweak chunkSize to meet your needs
Fix #68 - Tweak chunkSize and streams properties to meet your needs, or use dynamic for better balance between small and large files