POL_Download_retry

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 1561622
Wine: System

Feedbacks

Description

Download with retry and resume:
- files are always downloaded with a ".part" suffix
- in case of retry, it then knows it has to resume download
- at the end of download, if hash matches the file is given its final filename, otherwise its renamed with ".failed" suffix and download can be retried
- if a ".failed" file is found when the script is restarted, an attempt is made to validate it with the hash (in case the script has been updated with a new hash)

Parameters:
#1. URL
#2. Local filename
#3. Expected MD5 hash
#4. Title

Source code

Contributions

Filters:

Contribute
Member Message
petch Tuesday 11 August 2015 at 18:06
petch

Information

This update has been approved by the team.

Message

Fix minor typo (POL_Debug_message => POL_Debug_Message)

Differences

New source code

Replies

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com