seung-lab / cloud-files

Threaded Python and CLI client library for AWS S3, Google Cloud Storage (GCS), in-memory, and the local filesystem.
BSD 3-Clause "New" or "Revised" License
36 stars 8 forks source link

Extra ext appended to files copied to file:/// #92

Closed ranlu closed 11 months ago

ranlu commented 1 year ago
cloudfiles cp test.txt /tmp

create /tmp/test.txt

cloudfiles cp test.txt file:///tmp

create /tmp/test.txt.txt, any ext will be double in my test.

ranlu commented 1 year ago

I must got confused yesterday, both case gives a test.txt.txt with cloud-files 4.17.2 installed from pip

william-silversmith commented 1 year ago

Ah, I think this bug was introduced to try to compensate for compression extensions. Will fix this...

ranlu commented 11 months ago

Seems to be fixed since 4.18.0