EUDAT-B2SHARE / b2share

B2SHARE software for the EUDAT CDI services.
https://b2share.eudat.eu
GNU General Public License v2.0
35 stars 33 forks source link

HTTP server doesn't seem to support byte ranges #1875

Open nmz787-intel opened 2 years ago

nmz787-intel commented 2 years ago

when my large downloads fail due to the server resetting, and I try to continue with curl, I get this message: HTTP server doesn't seem to support byte ranges

Please enable byte ranges on your web server so I can resume downloads. My connection is not very fast due to my rural location, and suffers a lot of weather related issues.

$ curl -L -O -C - 'https://b2share.eudat.eu/api/files/87275d32-0908-45bc-89e2-8f3d86029283/MEMS_devices_and_electrodes.tar' --output MEMS_devices_and_electrodes.tar
** Resuming transfer from byte position 193805570
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0 3155M    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.