Preserve file name in transfer.sh
mode (unencrypted content downloaded from an IPFS gateway)
#10
Labels
good first issue
Good for newcomers
When no encryption is requested, the content shared with
ipfs-wormhole
can be retrieved from its IPFS hash and an IPFS gateway (ala transfer.sh). However, such a downloaded file would be named according to its IPFS hash. This is not very convenient.A solution could be to put the content to send into a temporary directory, which is itself added to IPFS recursively with
ipfs add -r
. The HTTP link to the gateway could then contain both the IPFS hash of the directory and the real file name to the to allow for a proper naming of the downloaded file.Two comments about the implementation:
ipfs add
as it is the case with the current implementationThe text was updated successfully, but these errors were encountered: