By jkudish
Hey there,
Experiencing a bit of a weird edge-case scenario with Digital Ocean Spaces.
Context: We’re using the Spaces API to let our clients upload RAW image files (NEF format) which are then downloaded by our employees.
Problem: Despite being correctly uploaded as NEF files, the files are downloaded as .tiff when downloaded from the Digital Ocean Spaces in Chrome. In Firefox, the file is correctly downloaded as NEF.
What I’ve tried so far to narrow the problem down:
I’m not sure exactly why this is happening – something with the content-type of the file perhaps?
In any case, it’s a weird issue and will heavily affect the way we can use Digital Ocean Spaces for our use case, so any ideas or help would be appreciated. I submitted this as a ticket as well, but figured I’d give the forums a try as well
Thanks so much!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
@jonny5alive The expected content-type for the particular NEF files we were trying should have been image/x-nikon-nef but Digital Ocean always returns it as text/plain. When I upload and download the same file into/from Google Drive, it has a content-type of image/x-nikon-nef in the response. I think this might have something to do with it; though it’s still odd that only Chrome processes this incorrectly.
I’ve been told (via a ticket to Digital Ocean) that the engineering team is looking into this.
@jkudish thanks for reporting this. I’ll ping the engineering team to see if they know what could be causing this issue.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.