DOWNLOADER (HTTP)



Downloads a file from a Webserver using the HTTP-Protocol. Very useful if no ananymous FTP download available...
The package contains a 100ms silence file that can be used as substitute file, should the download fail for whatever reason.


A few explanations for better understanding the configuration file (.ini)

Under URL, the full path to a file on a webserver can be specified. If the file contains a datecode that is changing use yyyymmdd etc. format to specify the date code in the file.
URL=http://www.domain.id/ServerFolderName/NewsFileyyyymmddhh.mp3

----

Under Destination, specify the local path and filename for the file. You might want to save Newsfile2011040812.mp3 simply as News.mp3
Destination=C:\Newsfolder\News.mp3

----

Under DateFormat, specify the date format used in the filename. In this Example:
DateFormat=yyyymmddhh

----

Under ShellExec, a batch job might be triggered to automatically tag, level or copy the file.

----

Under MinFileSize, specify the minimum valid filesize for the downloads (in bytes)
MinFileSize=8500 would consider the file to have at least 8,5k to be valid.
If the file does not meet this criteria, a subtitute strategy as described below might be put in place.

----

As mentionned before, should the download fail for whatever reason, a substitute file can be specified here. It is also possible to delete the old file or leave the old file in place. It all depends for what you will use the downloader application. For the news, it would make sense to keep the previous file rather than delete or replace it with silence.

Examples:
Substitute=C:\PathToSubstituteFile\Silence_100ms.mp3
will replace the target tile with the file specified here. In this case 100ms silence.

Substitute=Delete
will delete the target file if exists.

Substitute=
will leave the previous file.

----

With IhhibitProcess you can specify an imagename that will force the downloader to exit. Assume your playlist creator software will access the files (for whatever reason, maybe to get file length) when creating playlists. The download of the news file might then produce a conflict with the playlist creation software.
InhibitProcess=PlaylistCreator.exe

----

MaxRetries is simply the number of retries the program attemps to download a file, should the download fail.

Downloader (HTTP)