I created an application that my user can upload, so far so good, but after a few days that my application is started his temporary directory disappears (I do not know if the OS goes out or something) and from then on the upload not It works more. I need to either restart my application or recreate the directory (an example directory "/tmp/tomcat.323231231312.8282/work/Tomcat/localhost/myapp
"
[EDITED] I already saves all files in a separated file, but the springboot saves the files in a temp directory until upload finish, then I have access to that file