title: Upload a folder full of image with the NextCloud-Link API
body: <p>I'm trying to upload a folder with many images from local file to my nextcloud, I'm using the nextcloud-link API, it works perfectly with text files or single images, but it require the content of an image, not the path, so i dont know what to do or if it's possible to load an entire folder.</p>
  <p>I did this for the image(works)
  const imageBytes = fs.readFileSync(&quot;{Desktop/a.png}&quot;);</p>
  <pre><code>var request = require('request');
  var options = {
      'method': 'PUT',
      'url': 'https://cloud.********.com/remote.php/dav/files/*******/Application Screenshot/_kanban_de.png',
      'headers': {
          'Authorization': '********',
          'Content-Type': 'image/png',
          'Cookie': '**********'
      },
      //TODO Usare postman e cercare un modo o per dargli il path dell'immagine o dargli il suo body(dati) dell'immagine
      body: imageBytes,
  };
  </code></pre>
  <p>but it's not working</p>