Http File upload progres

Is there any way i to track file upload progress server side in elixir/phoenix?
I see the same question was asked here, but it only got solutions on how to solve it client side.

I see that it is possible in Golang
Just looking for a similar feature in elixir so i can broadcast the progress to a channel :grinning:

I don’t think this is exposed by plug/phoenix, but you might be able to create a custom Plug.Parsers.MULTIPART wrapper/alternative, which does do that.

Thank you! I will give this a go and share the code if it works.

2 Likes

Did you ever get around to making an upload with progress Plug?

Use liveview if you can, file uploads is awesome there :slight_smile:

2 Likes