Skip to content

Attempt to resume file download from point of previous failure #1780

@rtek1000

Description

@rtek1000

Describe the request

If a previous attempt at downloading a file failed, attempt to resume the download on the subsequent attempt.

Describe the current behavior

When installing a boards platform, and even some libraries, large files are downloaded. These downloads may occasionally fail due to a transient network outage.

Currently, the download of the file starts all over again when the user makes another attempt at the installation.

This is inefficient and wasteful of bandwidth. In cases where the previous download attempt failed due to an externally imposed timeout, it will result in the download only failing once again.

Arduino CLI version

Original report

Not specified

Last verified with

08ff7e2

Operating system

Windows

Operating system version

Windows 11

Additional context

Related

Workaround

Manually download the file using a download manager that supports resuming downloads.

Metadata

Metadata

Assignees

Labels

topic: codeRelated to content of the project itselftopic: package-managementRelated to the packaging and managing of the platform/librariestype: enhancementProposed improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions