You don't just get access to the file in the event handler, that would be a security risk. You can read about upload methods in HTML5 (for example drag and drop events in the browser). Other than that you can just use a regular form upload (with the correct enctype attribute for the form) which will upload the file and give you access to it in the controller.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us