I'm new to libcurl but I would like to implement the following curl command using libsoup:
curl --data-binary '@test.mp4' -H "x-file-name:test.mp4" http://server/upload
How can I do the same with libsoup? Could you give me some examples how to upload a big binary file using libsoup?