upload directory in a file system

I encountered problem when uploading, I did it according to the demo on book-of-vaadin,file = new file (" /tmp/uploads / “+ filename),but the console indicates that can’t find the directory. Where should this directory(”/tmp/uploads /") be set?

thanks for your reply.


That is a directory of your choosing - you should choose a directory that exists, and that the server has permission to write to.

Best Regards,