Jump to content


Letting users upload files

spring-boot file-upload

  • Please log in to reply
No replies to this topic

#1 slimsim



  • Members
  • 8 posts
  • Gender:Male

Posted 16 February 2021 - 08:27 AM

I'm trying to let my users upload files in a RESTful spring boot web service.



I followed this tutorial 


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


But 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!

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users