Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facility to Restart Interrupted Download? #56

Open
ridgedale opened this issue Oct 6, 2023 · 1 comment
Open

Facility to Restart Interrupted Download? #56

ridgedale opened this issue Oct 6, 2023 · 1 comment

Comments

@ridgedale
Copy link

Thank you for maintaining this project.
I wondered if there is any capability built into or planned for macadmin-scripts to allow the restart (from where it got to) of a download in the event of a curl: (56) Recv failure: Connection reset by peer?
While attempting to download the following item:
14 042-45246 11.7.10 20G1427 2023-09-11 macOS Big Sur
... the following error resulted over halfway through the download:
Choose a product to download (1-26): 14
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5782 100 5782 0 0 27353 0 --:--:-- --:--:-- --:--:-- 28343
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
56 11.5G 56 6635M 0 0 502k 0 6:41:59 3:45:15 2:56:44 0
curl: (56) Recv failure: Connection reset by peer
Could not replicate http://swcdn.apple.com/content/downloads/14/38/042-45246-A_NLFOFLCJFZ/jk992zbv98sdzz3rgc7mrccjl3l22ruk1c/InstallAssistant.pkg: Command '[u'/usr/bin/curl', u'-fL', u'--create-dirs', u'-o', u'./content/downloads/14/38/042-45246-A_NLFOFLCJFZ/jk992zbv98sdzz3rgc7mrccjl3l22ruk1c/InstallAssistant.pkg', u'-w', u'%{http_code}', u'--compressed', 'http://swcdn.apple.com/content/downloads/14/38/042-45246-A_NLFOFLCJFZ/jk992zbv98sdzz3rgc7mrccjl3l22ruk1c/InstallAssistant.pkg']' returned non-zero exit status 56

Or is only solution to attempt the download again from scratch?

@grahampugh
Copy link
Owner

Hi there, at this point I would recommend that you use mist-cli instead of this project. Over the past year I have worked with the author of mist-cli to get the features of my fork of installinstallmacos included, and I would say it's now at that point.

https://github.com/ninxsoft/mist-cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants