I am able to chunk the files manually using the “split” utility in Linux into 256MB chunks, however the instruction is unclear on how to reassemble these parts on the server side.
The instructions suggest naming the chunks based on byte positions, and then issuing this example command
to concatenate the chunked file and move it to the location in the “Destination” header.
However, how is this supposed to work when using the naming scheme suggested? How do I select all chunks of the file to be rejoined? The .file location cannot be found.
My issue was that I was using the wrong URL for cURL - instead of putting the chunks in the “Uploads” main directory, I was putting them in “Files”, similar to the standard cURL upload procedure. One cannot initiate the merge from
<server>/remote.php/dav/files/<userid>
to
<server>/remote.php/dav/files/<userid>
it has to be from:
<server>/remote.php/dav/uploads/<userid>
to
<server>/remote.php/dav/files/<userid>
I don’t know how many times I read the docs and I still missed it!