You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am running a FileBrowser instance in Docker (latest image). When I upload a .png file using curl, the upload seems to succeed (200 status code) and a file is visible in the browser view. However, the file is not readable, i.e. the server raises an error: /thumb/files/image1.png: 500 172.25.0.1 image: unknown format: unsupported image format
File uploads via the browser view work. Also uploading PDF files per curl command works.
CURL to upload image: curl -X POST -F "data=@/home/user/image1.png" -H "x-auth: token" -H "Content-Type: multipart/form-data" http://localhost:8888/api/resources/files/image1.png?override=true
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am running a FileBrowser instance in Docker (latest image). When I upload a .png file using curl, the upload seems to succeed (200 status code) and a file is visible in the browser view. However, the file is not readable, i.e. the server raises an error:
/thumb/files/image1.png: 500 172.25.0.1 image: unknown format: unsupported image format
File uploads via the browser view work. Also uploading PDF files per curl command works.
CURL to upload image:
curl -X POST -F "data=@/home/user/image1.png" -H "x-auth: token" -H "Content-Type: multipart/form-data" http://localhost:8888/api/resources/files/image1.png?override=true
Any idea why this happens?
Beta Was this translation helpful? Give feedback.
All reactions