web3-storage/web3.storage

Folder

margilazde opened this issue · 2 comments

Why there is no function of upload folder?(I need 1 CID to all collection NFT) I wanted upload folder of images but system uploaded files in folder

i was also wondering this. specifically cannot upload folder to console.web3.storage - does folder have to be converted to CAR format first?

We don't currently support this in the web UI at console.web3.storage, but it is supported using the w3cli (https://github.com/web3-storage/w3cli) and we've just landed support for directory uploads in the w3ui library, along with an example of how to support directory uploads in custom applications (https://github.com/web3-storage/w3ui/tree/main/examples/react/multi-file-upload).

@heyjay44 I think it's worth considering adding directory upload support to console - the actual implementation shouldn't be too hard, I think it's mostly a question of how we'd like it to work.