Where is the Files in Moralis?

I have made the following tutorial on uploading files to the IPFS server.:

How to Upload your Files and objects to IPFS

I would like to know where is the place when I can look for those files later upload.

So they can be inspected and deleted if necessary.

Finally, I would like to know if the metadata url can be indexed. To avoid having to enter the tokenURI for each NFT.

I don’t think that you can list now the files that you previously uploaded to IPFS
I’m not sure what you mean with the part with metadata url to be indexed.

In some ERC721 contracts, when there is no tokenURI associated with an id, it returns the baseURI concatenating the id. something like that. www.baseuri/{id}. On sites like Pinata you can associate that id with a stored hash. This way you save a lot on storage.

This contract for example returns only ids concatenated to a baseuri:

Summarizing. uploading files to IPFS if you don’t save the url correctly then the file can’t be found. Since there is no account related to the files. Is that right?

I understood the first part, now the second part with that {id}, that may be a more complicated part.

that path with {id} is for metadata files usually (ERC1155), and not for images, and sometimes you may want to use a folder and upload all the IDs in a folder on IPFS (in case that you want to use IPFS for that case)

in the case that you use a folder in IPFS you may need to upload first all the files in IPFS in that folder, and then to update the smart contract base uri or to deploy the smart contract to match that base uri path

First of all, thank you for this conversation.@cryptokid

the path with the path with concatenated id is very common in ERC721 files.

in the above contract let’s check the tokenUri of id 123:

The question was how do I do this with IPFS. because with pinata for example if you can associate, index, a path to an id.

you can use pinata for IPFS if you want, you can upload files to a folder with https://docs.moralis.io/moralis-server/web3-sdk/ipfs-storage-new#uploadfolder-new but it doesn’t work too well now, it is limited to a size close to 5MB

I honestly don’t know what would be the best way to do it. I have to be a little clearer about the use of IPFS. And what you say about the folder seems interesting… do you have an example, a tutorial where to watch it?
Thanks for your time.

I think that this tutorial uses IPFS folders: https://www.youtube.com/watch?v=KBV4FrCv4ps