I'm trying to let my users upload files in a RESTful spring boot web service. I followed this tutorial https://www.callicoder.com/spring-boot-file-upload-download-rest-api-example/ where the uploaded files will be stored in the local file system. it says to configure what folder the files should be stored in with
file.upload-dir=/Users/callicoder/uploadsBut when I package the war-file I must have that folder on my computer, which leads me to believe that it will not work when I deploy it to the server. And sure enough, when I deploy the war-file, I get "deploy failed with error", even though that file is on my "File Manager". Does any one have any tips on how to achieve this? or is this not allowed on HelioHost, should I save the files in the DB instead? Do you have any good tutorials you can point me to? Thanks in advance!