Comments (8)
if file has 1,5MB it is uploaded entirely
from resumable.js.
fixed with :
var lst=0;
if(
lst=1;
for (var offset=0; offset<Math.floor($.file.size/$.resumableObj.opts.chunkSize)+lst; offset++) {
$.chunks.push(new ResumableChunk($.resumableObj, $, offset, chunkEvent));
}
from resumable.js.
seems to work but md5sums are different. Need to know if it is a php issue or javascript :(
from resumable.js.
fixed :
if (
// The last chunk will be less than chunkSize
}
from resumable.js.
Actually this is expected behaviour: That the last chunk is bigger than other chunks -- but smaller than 2*chunkSize. This is the case for two reason: To avoid uploads of byte-size chunks and more relevantly to allow for meta detection in the last chunk of a file. This is something we use ourselves to detect whether an upload is a video file, based only on the first and the last chunk of a resumable upload.
from resumable.js.
my php max file size limitation is 2MB so max chunk size must be 2MB in order to be efficient. I must upload big archive 10-12GB on server with limitation without using ftp. Thanks for script it works awesome. One only question : how to verify server response ?
from resumable.js.
If so, the trick is simply to have set the chunk size to be 1 MB. This will also be efficient enough, even at large files. Not really sure what you mean about verifying server reponse?
from resumable.js.
I want to send to client error messages (permission denided, already uploaded etc etc)
from resumable.js.
Related Issues (20)
- First and Last Chunks server side validation
- resumablejs.com down HOT 4
- Ability to sanitize file name before uploading
- 429 Error - Too many requests - when uploading larger files. HOT 1
- Node.JS: Cannot read property 'toString' of undefined (empty request body and files)
- Large files result in 429 server error - too many requests HOT 1
- Fewer chunks failing while uploading Zip and TIF files HOT 1
- How to get Upload File Count in Resumable.js ? HOT 1
- Not sequentially chunk requests sending
- re-combine the mp4 chunks results in a not-playable file HOT 2
- internal server error in last chunk HOT 2
- Error occured when uploading to shared drive folder HOT 1
- Upload directly from client to GCS HOT 1
- How to use resumable.js to track file upload progress
- Samples for Dotnet isn't working
- Upload method is not dynamic
- Typescript for maxFileSize wrong message HOT 1
- Python Flask back-end: final file corrupted due to insufficient chunks testing to define upload completed
- - ~~~~_a
- The problem was not in this package :/
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resumable.js.