question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
dr-dimitrucommented, Feb 5, 2021
1reaction
dr-dimitrucommented, Feb 5, 2021

@SimonSimCity if your use-case is simple you should be good sending classic multipart payload to server

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found