How to upload files to same directory

Hello, i am trying to use ipfs-http-client node to work with infura, it already is uploading data but i cant use mkdir for creating a directory and upload files into it because i want it to have the same URL, only change filename.

Can you help me with this?

Hi @Joangeldelarosa and welcome to the Infura community!

Usage of mkdir as part of Mutable File System (MFS) is not yet supported by Infura.
Since IPFS uses content-based addressing you would need to have a new link every time you update the content.

Some extra resources to look into:

https://docs.ipfs.io/concepts/ipns/#example-ipns-setup-with-cli