You want to download a file https://example.com/file.pdf with curl and in case of an error you want curl to retry the download three times. What is the proper way to do that?
Getting data from net
Download with curl
Report a typo
Enter a short text
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.