user6132: How to upload folder to IPFS using blockfrost.
able to upload a file using the following, but not able to upload a folder
curl "https://ipfs.blockfrost.io/api/v0/ipfs/add" \
  -X POST \
  -H "project_id: $PROJECT_ID" \
  -F "file=@./README.md"

here is the full documentation
any solutions?

user1142: You can loop over the contents of your folder and upload every file individually using curl.

6132: <p>How to upload folder to IPFS using blockfrost.</p>
<p>able to upload a file using the following, but not able to upload a folder</p>
<pre><code>curl &quot;https://ipfs.blockfrost.io/api/v0/ipfs/add&quot; \
  -X POST \
  -H &quot;project_id: $PROJECT_ID&quot; \
  -F &quot;file=@./README.md&quot;
</code></pre>
<p>here is the full <a href="https://docs.blockfrost.io/#tag/IPFS-Add/paths/%7E1ipfs%7E1add/post" rel="nofollow noreferrer">documentation</a></p>
<p>any solutions?</p>
 1142: <p>You can <a href="https://askubuntu.com/a/315338">loop over the contents of your folder</a> and upload every file individually using <code>curl</code>.</p>
