Create folders with .net api

Comments

3 comments

  • Official comment
    Avatar
    Shirly Manor

    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);



    Comment actions Permalink
  • Avatar
    Itay Taragano

    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
    Comment actions Permalink
  • Avatar
    vinodkumar

    How to create Customize Folder Through .net Api

    0
    Comment actions Permalink

Please sign in to leave a comment.