How to upload a File to server in as3? I don't want to browse file by using FileReference.browse(). I tried using URLLoader to get the file and convert to byteArray but as I send it to server using URLVariables it gives IOError=2032. I want update database on the server. The structure would be like email (string) sqlite_db (Blob)
I have to send both of these variables inside one request. Any idea!
The upload process is made much easier by using the UploadPostHelper which is a great class to create multipart data forms:
And of course you can listen to the complete event and pass back any information from your server. Hope that helps.