Tutorial :File Upload from FLEX or ActionScript 3 to ASPX .NET?



Question:

I would like to know how to upload a file from ActionScript 3 (From a FLEX Application) to a Dot Net Back End, maybe to an ASHX file, an ASPX file or similar and using C# as core backend language.

Thanks!!


Solution:1

Use the FileREference class to pass the file from Flash Player to the backend service. Googling provides a bunch of examples on how to do this, here are the top 2:

http://algorithmist.wordpress.com/2007/10/19/flex-file-upload-with-aspnet/

http://dotnetslackers.com/community/blogs/haissam/archive/2008/03/29/upload-multiple-files-using-asp-net-amp-adobe-flex.aspx


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »