web3.storage
web3.storage copied to clipboard
Add ability to link uploaded file directly to CID
currently all uploaded files get put in a directory cid by default
If you just want to upload a file without the wrapping directory you can do it today with JS client https://web3.storage/docs/reference/js-client-library/#store-files providing the option wrapWithDirectory: false
to have the root of the upload to be the provided file.
However, if the intention of this issue is to add ability to link uploaded file directly to CID
, that is, link a new file with a previously uploaded directory with given CID this won't be possible by IPFS nature.
Closing due to inactivity. If you need more info, feel free to re-open.