Just as the title says. I have a file that is in my uploader. I can get the ‘file’ with $$(‘the_uploader’).files.data.pull, but I don’t know how to get the actual file contents. In this case, the file is a .xml file. I want to be able to add it to the uploader and then ‘read’ it.
FileUploader doesn’t have access to the file content.
You can use FileReader API for such task
http://webix.com/snippet/15bdc816
Above snippet uses onAfterFileAdd, but it is not limited for this event. The file_struct is the same object that is stored in the $$(‘the_uploader’).files.data.pull