Create folders with .net api
Hello,
I'm having trouble figuring out how to simply create a folder through the .net api. Similar to how the Media Library does it. Any help would be greatly appreciated. Thanks!
Edit:
I am also having trouble using ListResources. I'm not seeing any command that can filter out backups.
-
Official comment
When adding the folder name to the public id it will automatically generate the folder.
For example when uploading an image using .Net and providing public id that including my_folder + `\` it will generate my_folder:
var uploadParams = new ImageUploadParams() { File = new FileDescription(@"c:\my_image.jpg"), PublicId = "my_folder/my_name" }; var uploadResult = cloudinary.Upload(uploadParams);
-
When uploading an image to a folder using the API, this can automatically create the corresponding folder in your Media library.
Make sure that the "Auto-create folders" option is enabled on your upload settings page, this will apply to all newly uploaded images.
1 -
How to create Customize Folder Through .net Api
0
Post is closed for comments.
Comments
3 comments