In Flex i want to upload a particular file to server form local system.how to do it? Thanks.
Asked
Active
Viewed 312 times
2 Answers
2
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
- 58,710
- 11
- 92
- 121
1
You can upload byteArrays though if you are sending some images or texts. http://developer.amazonwebservices.com/connect/thread.jspa?messageID=76422

Susrut
- 11
- 1