Get the latest tech news

Curl with Partial Files


Back in September 2023, we extended the curl command line tool with a new fairly advanced and flexible variable system. Using this, users can use files, environment variables and more in a powerful way when building curl command lines in ways not previously possible - with almost all existing command line options. curl command lines … Continue reading curl with partial files →

Back in September 2023, we extended the curl command line tool with a new fairly advanced and flexible variable system. You ask curl to read a byte range from a file instead of the whole one by appending;[n-M] to the filename, when you assign a variable. Skip the first thousand bytes from a file named localfile and send the rest of it in a POST:

Get the Android app

Or read this on Hacker News

Read more on:

Photo of curl

curl

Photo of Partial Files

Partial Files

Related news:

News photo

Curl removes experimental HTTP back end in Rust

News photo

Curl Drops Support For Hyper Rust HTTP Backend Citing Little Demand

News photo

cURL 8.11 Released With Official WebSockets Support