# Resumable downloads

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fresumable-downloads%2F192554%3E%5C
**Category:** Site Feedback\
**Created:** [November 25, 2026, 3:46pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fresumable-downloads%2F192554 "2026-11-25T15:46:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arre-231](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@arre-231](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Farre-231)%5C
**Post date:** [November 25, 2026, 3:46pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fresumable-downloads%2F192554%2F1 "2026-11-25T15:46:08Z")

</div>

It’s only me, but models are several GB’s and on unstable connection `hf` tool is just useless and it’s better to use curl, because it can continue, while this thing drops after one disconnect?

---

<div class="post-metadata">

**Author:** ![Hashlogics](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/hashlogics/32/64736_2.png) [@Hashlogics](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FHashlogics)%5C
**Post date:** [November 26, 2026, 12:02pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fresumable-downloads%2F192554%2F2 "2026-11-26T12:02:52Z")

</div>

Not across runs. If a file fails mid-download, current huggingface\_hub deletes its partial temp file, so your next run starts that file from zero. Files you already finished are kept, though, and many big models are split into shards, so a rerun only redoes the broken shard. Within one run, hf\_xet (now the default path) retries failed requests itself, five times by default. I think raising that limit and looping the command helps on your flaky line:

```auto
export HF_XET_CLIENT_RETRY_MAX_ATTEMPTS=20
until hf download <repo_id>; do sleep 5; done

```

For one huge single file, curl -C - is still the safer bet.

---

<div class="post-metadata">

**Author:** ![arre-231](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@arre-231](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Farre-231)%5C
**Post date:** [November 26, 2026, 3:25pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fresumable-downloads%2F192554%2F3 "2026-11-26T15:25:11Z")

</div>

Yea, but I kinda think it shades bad light on python as whole… `pip` is same, and you can’t resume on broken connection… On slow internet it can loose 10’s minutes of progress.

How does it comes, that python a thing so simple to code in that everybody chooses to code in it falls behind some old C code like a `curl`?

---

<div class="post-metadata">

**Author:** ![tgbaggio](https://avatars.discourse-cdn.com/v4/letter/t/b2d939/32.png) [@tgbaggio](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Ftgbaggio)%5C
**Post date:** [November 27, 2026, 6:49am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fresumable-downloads%2F192554%2F4 "2026-11-27T06:49:37Z")

</div>

Losing ten minutes of progress on a slow connection is a fair complaint. I’d report it as a downloader recovery issue, with the hf, huggingface\_hub and hf\_xet versions: does it preserve partial data after a failed run, and does the next attempt actually resume? Python can support that behavior too; changing languages alone wouldn’t fix a policy that discards the partial download.
