Range (Start-Stop in bytes) for "--data-binary" option (feature request) #1200
Comments
We don't keep feature requests open in the issue tracker, as they aren't really current issues. See https://curl.haxx.se/docs/bugs.html#TODO for an explanation how we use the tracker. Unfortunately, we're drowning in good ideas and it is always easy to bring more of those. Turning them into working and good code is however not as easy. My suggestion for the short to medium term would be to write a small script that
|
bagder, I've made my perl wrapper already :) I think my feature request will be the first step to fix RAM consumption as mentioned in #290 I hope somebody will help us with the code. |
bagder, seems you didn't understand what I was trying to request in #1198 and closed the thread, so I will explain in other words.
I don't want curl to set headers for "--data-binary".
I'd like curl to send exact set of bytes to the server.
Technially it would be like:
If I add the option "--data-binary @largefile.zip!1073741823-2147483647"
then curl does:
open(F, "largefile.zip");
seek(F, SEEK_SET, 1073741823);
read(F, $buf, 2147483647-1073741823+1);
send(SOCKET, $buf)
The text was updated successfully, but these errors were encountered: