[sword-devel] ftptrans.h

Familie von Kaehne refdoc at gmx.net
Mon Sep 10 11:35:35 MST 2007


wget might be a better method - it allows interrupted downloads to be
resumed with "wget -c"

Peter


DM Smith wrote:
> The BAO module has about 175 images. Are these downloaded one by one? 
> What happens if there is a failure on downloading, say, the 135th image? 
> I would think that with an image rich module that there is no constraint 
> on the number of images it might hold. Is there a good way to improve 
> the reliability of the transfer of the entire module?
>
> In Him,
>     DM
>
> Martin Gruner wrote:
>   
>> Hi,
>>
>> is there a reason why
>>
>> 	int copyDirectory(const char *urlPrefix, const char *dir, const char *dest, 
>> const char *suffix);
>>
>> in ftptrans.h is not virtual? This would allow frontends to reimlement on a 
>> higher level than getURL only. The current implementation of copyDirectory 
>> has the weakness that the counter for total data to be transferred increases 
>> as new directories are found and transferred. You can see this with the BAO 
>> module from Karl Kleinpaste, for example. The status reporter 'readjusts' 
>> progress as it discovers the directory with the images, which holds the 
>> actual data.
>>
>> Can we change the function definition above to make it virtual?
>>
>> God bless, 
>>
>> mg
>>   
>>     
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>   




More information about the sword-devel mailing list