tags:

views:

218

answers:

3

i making an uploader for 3rd party site, i don't want upload through my host (user upload to host, host upload to 3rd party site), it waste bandwidth so i decided choose flex, but i want know clearly about flex before i tried with it, can it handle http response after upload (redirect header, html response, json ...)

A: 

I'm not sure if this exactly what you are looking for but there are a few flash based file uploaders that support cross domain (3rd-party) uploads:

fancyupload specifically addresses crossdomain support on their main page: http://digitarald.de/project/fancyupload/1-0/

you do need to have a crossdomain.xml file on the third-party site there are instructions on how to do this:

http://forum.mootools.net/viewtopic.php?id=8312

and

http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001590.html

they use the standard http multipart form post so as along as the receiving server can handle that they will work. On the client side provide javascript interfaces to get the results of the upload.

Jason
A: 

yes, flex will handle the http response.

Joel Hooks
A: 

It's a little unclear what you are after but you could try this Flex/PHP uploader. It has support for multi uploading and threaded simultaneous uploads:

http://bytearray.brixtonjunkies.com/2009/10/01/flex-multiple-file-uploader/

alchemist