I figuered out that it works like I descriped it. I only forget to instatiate the iverwritten oFTP instead og the original.
Sorry for that !
Stefan
Hi Rick,
I want to use FTPSendFileEx and recieve statusdata with OnFTPBufferUpdate.
To do this, the documentation sais I shall overwrite OnFTPBufferUpdate. But I am not sure to find the right place for it.
I included the classlibrary wwipstuff in my project. Where all my classlibs are sets I I do it with wwipstuff additive.
The code to do an upload I put in a form method. Where can I overwrite OnFTPBufferUpdate to take effect and do not harm any other stuff in my project?
I can't do DEFINE CLASS in a form method. Can I put it in any other prg file with is included and set procedure to?
And: I want to use a thermometer class to show these data. Is it OK to create that class as public object in the form method and update it in the overwritten OnFTPBufferUpdate class?
Is that the right way to do it?
Thanks in advance
Stefan