Feature dcc.Upload() as generator?

Hi,

I would like to suggest a feature to turn dcc.Upload into a generator that uploads and returns the uploaded files one by one. I have been experimenting with that function and it is currently the weakest link in my app. It would be nicer if the user could get feedback on how many files have been uploaded and how many failed.

Is there an alternative way to upload several bigger files? At the moment, I am working with chunks of up to 100+ files of 10-30MB. In the future, I would also like to upload several files with 1+GB.

Uploading files one by one would make sure files are transmitted and not all files fail together.

Also, it is not ideal that dcc.Upload() holds all the data in memory.