Hi guys, I'm the author for FileReader and the shortcoming you note is well known and currently unavoidable. Please add you needs to this thread https://groups.google.com/forum/#!searchin/elm-discuss/blob|sort:relevance/elm-discuss/spr621OlUeo/UQq0rk0dBQAJ as we need to get WebApi implementations prioritised.
Simon On Saturday, 5 November 2016 10:27:30 UTC+1, Martin DeMello wrote: > > Thanks, I took a look at that, but it loads the file data into elm, where > we still have the problem that we cannot attach a binary blob to a POST > request. > > I'm not fully sure, but I think the flow needs to be: > 1. Get filename from the input button, in elm. > 2. Pass filename to javascript > 3. Upload the file and attach it to an ajax post request in javascript > 4. Pass the return value of the ajax call back to elm > > martin > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.