Hum… I just created a folder inside called Contents and I’m saving user files there. Where should them be saved so? I understood tha public is where I can save files visible to all users. No?
If you are writing this in your own server, you need to setup your server so that files in a particular folder will be available for users with the correct permissions.
It can also be done on a 3rd party storage like AWS S3.
Thanks again for your answer. In fact, there is just one server with one small aplication in meteor. I will not use AWS or other S3. If I want to use the same server to save couple of files from application, which approach should I use for folders?
You can write file but not in the public folder as @rjdavid said.
You can create 2 meteor settings files, one for dev and other for prod. In meteor settings, you can set property, for example USER_DIRECTORY: "/home/somewhere/data", make sure meteor process has write permission.
After that, you can write/read files from those directories without any problem.