>Hi.
>I have to copy large files via network. It can take time. In order to give the user more control over the copying i intend to write a copy procedure based on Fread()/Fwrite(). I've tryed a sceleton version of it on a 144mb file - no problem.
>Don't want to use window's API function for it takes a structure so ClsHeap is needed and it becomes complicated. If you have no objections to Fread()/Fwrite() i'll give it a go.
>All the best.
>Kamil
What sort of control - do you want the user to be able to interrupt while the copying is done?
I don't see any specific problems with this approach, except that it
might be slower than just using COPY FILE, etc. To reduce this effect, I would suggest that you copy a relatively large piece in every iteration.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)