JuliaGizmos / Escher.jl

Composable Web UIs in Julia
https://juliagizmos.github.io/Escher.jl
Other
337 stars 63 forks source link

File upload widget #113

Open zznop opened 8 years ago

zznop commented 8 years ago

Are there any plans to create a file upload widget or does that functionality exist now? Any recommended work around in the meantime, if a solution doesn't exist?

NOTtheMessiah commented 8 years ago

This interests me as I hope to make a front-end to MXNet.jl (as to make an image recognition web server), I will look into this matter, thought I'm not sure how easy it would be. Conventional file uploading involves a POST handler on the web server, and all routing is done through the method escher_serve in cli/serve.jl. There may be a way to send the binary data to the server through websockets, though I have yet to investigate.

If file uploading is independent of other reactive functionality on the server, perhaps it may be better to write your own escher_serve that can handle a simple file upload?