Skip to content

upload of file - not all bytes are sent

While upload og overlay file with length-117, only 108 bytes are uploaded.

curl 'https://minerva-dev.lcsb.uni.lu/minerva/api/files/15050:uploadContent' -i -X POST --header "Content-Type:application/octet-stream" -d @basic.txt --cookie "MINERVA_AUTH_TOKEN=xxx"

{"id":15050,"filename":"basic","length":117,"owner":"admin-1","uploadedDataLength":108}

basic.txt

Later, while attempting to add overlay with this file I got response:

{"reason":"Unknown column type: VALUESNCA. Like there is no end-of-line char.

Edited by Ewa Smula