Comments (9)
When using o.XMLHttpRequest directly, you cannot pass file.getSource()
, that's why we have a wrapper in there.
The same is true for other runtimes, including Flash.
from moxie.
Do you mean I should use plain file
instead?
I've tried to copy the implementation under https://github.com/moxiecode/plupload2/blob/master/src/plupload.js where there's a blob = file.getSource();
.
With a plain file
I see the same behaviour.
from moxie.
With a plain file I see the same behaviour.
Do you mean it fails to send plain file in Silverlight, but not in Flash? 'cause it does pass all unit tests here. Might be something specific.
from moxie.
Sorry, what I meant is when removing getSource() it still doesn't work.
On 23 May 2013 12:11, "Davit Barbakadze" [email protected] wrote:
With a plain file I see the same behaviour.
Do you mean it fails to send plain file in Silverlight, but not in Flash?
'cause it does pass all unit tests here. Might be something specific.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-18334385
.
from moxie.
When you send file directly like this it will be sent as binary stream, not multipart. Are you accepting it properly on server-side?
from moxie.
I was expecting a binary stream, but got multipart instead. I basically took the example working for Flash and exchanged swf_url with xap_url with the corresponding path. The only reference I have is the request body from IE9 as shown above.
from moxie.
Try updated binaries from bin/ folder. Our unit test wasn't checking for Content-Type
...
from moxie.
This can be closed now I guess?
from moxie.
Sorry, we found out it's ok for now to rely on Flash only, so for me this is done. Thanks for fixing anyway.
from moxie.
Related Issues (20)
- Flash FormData upload to S3 generates duplicate filename param and bombs out upload
- RangeError: Maximum call stack size exceeded - moxie.js - 1974
- preview picture in ie8 HOT 1
- A lot of Preview image cause memory leak HOT 6
- mOxie .onload is not executed in plupload >= 2.2.0 HOT 2
- Bug. Runtime flash and plupload.addFile() not working HOT 2
- mOxie namespace gone? v1.5.3 HOT 14
- Can't get the size of a gif image? HOT 3
- Infinite events cycle on Angular 2 + IE9 HOT 12
- Suggestion: Modifying the XMLHttpRequest Api HOT 2
- Headers not sending on IE9 with flash HOT 5
- How to get a blob as dataurl? HOT 2
- How to install it with flash? HOT 1
- Flash Runtime support put http request? HOT 1
- Image preview error HOT 2
- File picker - multiple files. HOT 2
- In IPv6 environment, it is impossible to upload files normally
- Hide the visually hidden file input from assistive technologies
- Flash losing support in Chrome at the end of 2020. Future plans..? HOT 1
- Inefficient regular expression (js/redos)
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 moxie.