Single file preserve filename in ipfs kubo download in same directory #520
Labels
need/author-input
Needs input from the original author
need/triage
Needs initial labeling and prioritization
If you want to preserve filename in ipfs kubo there is a suggestion in docs and forums to wrap a folder around the file as a workaround but when you want to save a single file in the same directory you get "ErrPathEistsOverwrite" error ("path already exists and overwriting is not allowed") because in github.com/ipfs/boxo@v0.15.0/files/filewriter.go file 38 line there is os.Mkdir(fpath, 0o777) function. Can you fix this either by letting single file case preserve filenames in ipfs or by not calling os.Mkdir if there is only 1 file in directory please? Thanks!
The text was updated successfully, but these errors were encountered: