I am using FileReference's upload method to load a file to a server using a URL which is a REST service.
Once the file is loaded in the server the REST service is doing some processing on the file and is returning a success/failure code.
I want to catch that code and show an appropriate message.
Can anyone help here?
I tried using:
events but they seem to return as soon as file data is uploaded to the server and they dont wait untill REST
service has sent a code back.