views:

50

answers:

3

hi All, In Flex i want to upload a particular file to server form local system.how to do it? Thanks.

+1  A: 

You cannot upload a file without using FileReference.browse() followed by an upload(). If it was possible, that would mean that a webpage can read any file from the user's machine without his knowledge or consent.

Can you even imagine the consequences of that?

Amarghosh
A: 

You can upload byteArrays though if you are sending some images or texts. http://developer.amazonwebservices.com/connect/thread.jspa?messageID=76422

Susrut
A: 

In this article you can find the answer.

Alexander Arendar