You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been thinking a bit about the add -w wrapper functionality, which helpfully permits users to add single files to IPFS and give them a proper filename (for browsers/applications to know what type of file it is and so on), which is great, but it unfortunately damages the long-term permanence factor of IPFS. The problem being, one of the stated goals of IPFS was content-addressed objects with links that don't break, but I fear a common use case may end up being something like https://github.com/ipfs/ipfs.js where the file is addressed as / and since the hash is dependent on the filename these links have the capacity to be broken permanently. Even if an identical file becomes available elsewhere under other circumstances it is unlikely the file names will match, nor could the swarms be joined.
However, since single files are not directories and do not have children, in the event that a hash is resolved to a single file and not a directory it should be possible to take the remainder of the path as the file name. That is, both Qm12345678990, Qm12345678990/something.png, and Qm12345678990/somethingelse.png could all refer to the same file, ensuring that even in the event the file names of wrapped objects change the network itself would still continue to recognize them as the same files.
The text was updated successfully, but these errors were encountered:
I've been thinking a bit about the add -w wrapper functionality, which helpfully permits users to add single files to IPFS and give them a proper filename (for browsers/applications to know what type of file it is and so on), which is great, but it unfortunately damages the long-term permanence factor of IPFS. The problem being, one of the stated goals of IPFS was content-addressed objects with links that don't break, but I fear a common use case may end up being something like https://github.com/ipfs/ipfs.js where the file is addressed as / and since the hash is dependent on the filename these links have the capacity to be broken permanently. Even if an identical file becomes available elsewhere under other circumstances it is unlikely the file names will match, nor could the swarms be joined.
However, since single files are not directories and do not have children, in the event that a hash is resolved to a single file and not a directory it should be possible to take the remainder of the path as the file name. That is, both Qm12345678990, Qm12345678990/something.png, and Qm12345678990/somethingelse.png could all refer to the same file, ensuring that even in the event the file names of wrapped objects change the network itself would still continue to recognize them as the same files.
The text was updated successfully, but these errors were encountered: