Hi again folks.
For anyone having similar issues, I managed to address most issues using curl and forcing HTTP version 1.0.
I also fixed some bug I had in my API query parameters (the `start` parameter for `measurements/{pk}/results` has the same effect as the `start_time__lt` for `measurements/` queries). The updated script is here, maybe it can be useful to others too:
From: Vasileios Giotsas <giotsas@hotmail.com>
Sent: Saturday, May 31, 2025 8:06 PM
To: Giovane C. M. Moura via ripe-atlas <ripe-atlas@ripe.net>
Subject: [atlas] Best way to download bulk data older than a month?
I'm trying to download the RIPE Atlas traceroutes for a day that is older than one month.
Given that the FTP repository publishes only results from the last month, I need to use the API.
So, what I'm doing is to list of measurement IDs for a given data and then for each ID I do a GET for the results of that ID.
The code is here:
However, often some downloads time out and when I'm trying to resume it using the Range header it seems that the API doesn't support it and the download starts over until it fails again halfway through the download.
Is there a better way to do such bulk downloads? Or at least to resume failed downloads?
Thanks!