Open meowcakes opened 9 years ago
To what end? Can you describe your use-case?
So I have two (very large) files being uploaded with field names "foo" and "bar". I want to, while the upload is in progress, analyse the contents of the files while storing them somewhere. This way I can give the user instant feedback of the analysis after the files are uploaded, rather than subsequently analysing them from wherever they're stored after the upload is finished, which would incur a significant delay.
But, "foo" and "bar" need to be analysed in a different way, and the only way to figure out which analysis to perform is to have the field name.
It would be nice to also have the field name passed to the :store function, like so:
This way different logic can be applied depending on the field.
Thanks