This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

Uploading image files to a specific folder?

Comments

1 comment

  • Avatar
    Michal Kuperman

    Hi Royce,

    Please include the Node.js SDK like this: cloudinary = require('cloudinary').v2 (including the v2).

    Then use this code to upload an image to the 'my_folder' folder:

    cloudinary.uploader.upload("file", 
    { folder: "my_folder" },
    function(error, result) { console.log(result, error); });

    Let us know if you need any further assistance.

     

    3
    Comment actions Permalink

Post is closed for comments.