POL_Download_retry

Informations

Créateur Messages
petch

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 1561727
Wine: System

Retours d'expérience

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

Code source

Contributions

Filters:

Contribuer
Membre Messages
petch Mardi 11 Aoüt 2015 à 18:06
petch

Information

Cette mise à jour a été acceptée par l'équipe

Messages

Fix minor typo (POL_Debug_message => POL_Debug_Message)

Differences

Nouveau code source

Réponses

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