About MultiFileUpload

Hi I am using MultiFileUpload for uploading multiple files at a time. But i am unable to upload single file at a time by using this component.
Is there any Component is available for achieving this functionality : Single component for uploading multiple file upload and single file upload?
Or MultiFileUpload can achieve this, if yes how ?
Thanks in advance.

You can use the Upload component for both. just use a MultiFileMemoryBuffer as it’s buffer. You can still choose to only upload 1 file with a multiFileMemoryBuffer. Examples can be found [here]
(https://vaadin.com/components/vaadin-upload/java-examples)

I am using Vaadin 8. is this compatible with vaadin 8.
Please show some real examples.