upload directory in a file system

Hi
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.

Hi,

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,
Marc