Forum Moderators: open

Message Too Old, No Replies

File Uploads frm Flash to asp.net

         

paul_owen

7:52 pm on Feb 10, 2010 (gmt 0)

10+ Year Member



I have to process a file upload from a Flash object to an aps.net "page". This page basically is supposed check the file to see if it's an imagea and save it then update a database. The program returns an XML message to the Flash.

I would normally use a regular file upload control on an APSX page with an event handler (in the codeBehind) and reference the postedfile property of the upload control... but this is from Flash and there is no fil upload control!

What do I do?

The designers and marketers here really really want to use Flah so I can't make an ASPX page.

Thanks,
Paul.

Ocean10000

6:47 pm on Feb 11, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I do not know much about programing in flash. I know you can upload files with it. But I do not know how its transfers this file back to the server to be processed. But I assume it can do a fileupload which can be treated as a standard fileupload by asp.net. The only different would be you have to tailor the resulting page to emit xml which the flash control can understand.

paul_owen

7:05 pm on Feb 11, 2010 (gmt 0)

10+ Year Member



Oh yeah, I figured it out.

Is was accessable in the standard httpPostedFile, as you say.

The Flash guy here was confusing when he spoke about he (he thought) Flash was uploading...