Help needed on Blob storage

We are planning to use crateDB as Blob storage.

I am trying to upload csv file and images.

I just refer the below guide and I could not upload any csv file or images. I can only upload plain text like a word or a sentence.

Can you please help me with uploading files and images?

Here is a repro, including the error message:

python3 -c 'import hashlib; print(hashlib.sha1("airport_code.csv".encode("utf-8")).hexdigest())'
curl -isSX  PUT '' -d "@airport_code.csv" 


HTTP/1.1 100 Continue

HTTP/1.1 400 Bad Request
content-length: 0

You might alternative use the crate-python library:

That blog post might be outdated

1 Like