Wild Media Server Wild Media Server
 
 
 
E-Mail Us
Home Product Info Download Buy Forum Feedback Extend Trial Contact Us Sitemap
 
It is currently Wed Oct 27, 2021 8:18 pm

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Feature request
PostPosted: Wed Jul 31, 2019 4:07 pm 

Joined: Sat May 08, 2010 8:12 pm
Posts: 98
Hi Eugene,
I would like to make a small feature request as follows.
Would you please add an optional possibility for WmsDownloadURLToFile function to append instead of overwriting the target file?
The function could look like this:
WmsDownloadURLToFile(const aURL, aFileName: string; const aHeaders: string = ''; aAsync, aAppend: Boolean = False): Boolean

If "aAppend" parameter is not supplied the function should overwrite the target file as it is now.
If "aAppend" parameter is passed and TRUE the function should append downloaded content to the target file. If file does not exist prior that the function should create it.

The intended purpose of such a functionality is to make use of partial downloads. Most content providers throttle progressive downloads thus getting big files is prone to errors. By using byte ranges one could overcome these shortcomings. Another use case is when downloading segmented MPD streams. In both cases chunks/segments after the very first one have to be appended to the target file.

Please let me know if such a functionality already exists. An example code snippet would be greatly appreciated.

Thank you in advance!
Regards


Top
   
 Post subject: Re: Feature request
PostPosted: Thu Aug 29, 2019 7:13 pm 

Joined: Tue Nov 17, 2009 8:05 pm
Posts: 2918
Hi,

Version 3.27
Quote:
function WmsDownloadURLToFile(const aURL, aFileName: string; const aHeaders: string = ''; aAsync: Boolean = False; aAppend: Boolean = False): Boolean


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Copyright 2009-2020 Wild Media Server Powered by phpBB® Forum Software © phpBB Limited