Giter Site home page Giter Site logo

Comments (9)

jayarjo avatar jayarjo commented on August 27, 2024

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.

cburgmer avatar cburgmer commented on August 27, 2024

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.

jayarjo avatar jayarjo commented on August 27, 2024

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.

cburgmer avatar cburgmer commented on August 27, 2024

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.

jayarjo avatar jayarjo commented on August 27, 2024

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.

cburgmer avatar cburgmer commented on August 27, 2024

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.

jayarjo avatar jayarjo commented on August 27, 2024

Try updated binaries from bin/ folder. Our unit test wasn't checking for Content-Type...

from moxie.

jayarjo avatar jayarjo commented on August 27, 2024

This can be closed now I guess?

from moxie.

cburgmer avatar cburgmer commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.