Upload via XHR2
See original GitHub issueI’ve until today (because of some issues with my load balancer) been using DDP as the transport mechanism for files and was wondering why nobody implemented an XHR2 compatible upload mechanism here. Is there any particular reason - or has it just not been considered yet?
https://github.com/VeliovGroup/Meteor-Files/wiki/About-Upload-Transports
My primary goal is to skip the splitting of a file into several chunks.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Uploading multiple files at once with Ajax and XHR2
Uploading multiple files at once with Ajax and XHR2 ... to demonstrate how can upload multiple files with one POST request using XHR2....
Read more >XHR2 FIle Upload without a File Upload Form Element
I can use XHR2 to upload a BLOB without a form - but I'm looking for ways to have Params + File (or...
Read more >Uploading chunks of a large file using XHR2
Here I've specified the chunk size as 1 MB (1024*1024) and then slicing the file such that each fragment is of 1 MB...
Read more >XMLHttpRequest.upload - Web APIs - MDN Web Docs
The XMLHttpRequest upload property returns an XMLHttpRequestUpload object that can be observed to monitor an upload's progress.
Read more >Processing XHR2 file uploads in PHP - Chrome Developers
If you're curious how to process a file upload using xhr.send(FormData) , here's a quick example of an image upload in PHP.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@SimonSimCity you might be interested to join discussion here — https://forums.meteor.com/t/new-package-meteor-files-light-need-your-feedback/55061
@SimonSimCity if your use-case is simple you should be good sending classic
multipartpayload to server