English 中文(简体)
Cross domain asynchronous multipart POST file uploads using flXHR?
原标题:

I am building a "widget" that can be embedded in other people s websites, that talk back to my server.

Right now I am using flXHR for the cross domain asynchronous communication, and it works fine for doing GETs inside the widget.

However the major point of the widget is to allow clients to submit a form back to my server, complete with some multipart POST data (eg, the html file upload field). I need some kind of cross domain asynchronous file upload.

I can t figure out how to attach the multipart file data to the flXHR request. Is this even possible?

问题回答

As far as I know, no, you can t attach file data to a flXHR POST... you d have to have a flash component that was built to be a file uploader to do the file part of the upload, and could use flXHR for the rest of the form data.





相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

How can i update div continuously

I have asp.net application where i have a div which showing the value from other site. The value of that site is changing continuously. I want that my div will automatically update in some interval ...

热门标签