jakeFeldman / strapi-provider-upload-azure-storage

Strapi Provider Upload Azure Storage
MIT License
75 stars 42 forks source link

Upload assets into folders? #89

Closed yanckst closed 3 months ago

yanckst commented 7 months ago

Hi,

Question

Is there a way to upload an asset into a specific folder instead of just putting all assets into the default folder or the folder used for the upload?


Strapi

For example, if in strapi I have a media galery like so :

image image


Azure

In azure, the structure looks like that

image


Output

I was expecting the v2 file to be uploaded inside the folder inside the parent like it's already structured like that in strapi.

I want to know if this is a bug or missing feature.

Thanks and awesome work! :)

jmather-aipm commented 4 months ago

Folders in Strapi are part of the admin interface and not part of the upload plugin: https://docs.strapi.io/dev-docs/plugins/upload#endpoints:~:text=Delete%20a%20file-,%E2%9C%8F%EF%B8%8F%20Note,-Folders%20are%20an

yanckst commented 3 months ago

Thanks for the information. We can close the issue.