Yarn Version: 1.22.15
[/details] As the upload media folder becomes very cluttered is there a way to create folders in upload and group the media files.
I have created folders using the API(strapi.plugins.upload.services.folder) but how do i upload files to this folders
As per my understanding i can use the api/document to upload files to media library however i need to upload files to the newly created folder inside the media library.
No meu caso eu preciso fazer upload do arquivo pra pasta /2/3/4/5 porém já tentei mandar pra api o folder e o folderPath como no seu exemplo e não deu certo. Já tentei também mandar com um fileInfo:{“name”:“file.txt”,“foler”:5} no formData mas não funcionou. No S3 ele monta o caminho correto com o path, mas no strapi continua salvando na pasta genérica API Uploads.
Você consegue me ajudar?
My understanding is that it’s not just about creating folder views logically, there should also be a load balancing storage solution on the disk instead of uploading all files to one disk folder。
Storing a large number of files in the ’uploads‘ folder can have performance bottlenecks!