For example, I designed an image folder at /usr/local/parse-server-example/public/images, and I want to save all the images there (and subfolders by some naming rules, like images/20211013/timestamp1.jpg, images/20211014/timestamp2.jpg, ) which are uploaded from client side, how could I accomplish this via js api?
Thats not possible with parse server. Currently files are saved to database or other storage providers such as Amazon or DigitalOcean. If you want to save files to local folders, you need to add your custom express route.
Edit: Seems like my statement is not true. See cbaker6’s message.
I have already simplified the cloud function as below, many lines have been commented out, while still met above error. Is there anything missing? Looks like Parse Server met error when parsing form-data. Thanks a lot.