Single File Upload with GET and POST Vars Submission and Server Data Return

This example extends the single file upload example and shows how to submit GET and POST variables along with the file upload request, and how to receive data from the server.

Please note: This example will not work when run from a local filesystem because Flash only allows ExternalInterface communication with pages loaded from the network. If you’d like to run this example locally, set up a local web server and launch it from there.

File selected:
Percent uploaded:
Sending via GET: foo='bar', foo1='bar1'
Sending via POST: bar='bazz', bar1='bazz1'
Data returned from the server: