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@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to