[sword-devel] ftptrans.h

Troy A. Griffitts scribe at crosswire.org
Mon Sep 10 11:27:16 MST 2007


I have no strong feelings about the virtual status of this method.  If you
feel there is a need for frontends to overwrite this, then we can change it
for you.  Do you think your changes would be a good replacement for the 
current implementation?


Martin Gruner <mg.pub at gmx.net> wrote: 
>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
>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, 
>sword-devel mailing list: sword-devel at crosswire.org
>Instructions to unsubscribe/change your settings at above page

More information about the sword-devel mailing list