Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CDOSYS and showing progress
Message
From
15/04/2008 22:47:56
 
 
To
14/04/2008 12:07:17
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01309529
Message ID:
01310977
Views:
31
>>> Can you confirm ctl32_progressbar marquee mode "keeps playing" while
>>> cdosys is doing its stuff?
>
>
>Carlos,
>
>Yes - plays beautifully!
>
>Have had a few issues trying to tie it into ctl32_FTP, it seems to jump up in chunks, get to about 90% then slow right down. However I have not managed to get a consistent result so it may just be the fluctuations in upload speeds.
>
>
>Regards Gary
>
>
>PS. let me know if you want any testing done - I am happy to help.

Gary:

Have you checked the sample ctl32_ftp form? Check that form to see how the download/upload process status is updated.

You should update the upload/download status to the user in the ftpTransfer event, you can also use ftpTransferStart and ftpTransferEnd to setup/end the user feedback.

Since there is no callback capability in VFP, the ftpWriteFile and ftpReadFile adjust the size of the download/upload buffer so the ftpTransfer event fires about once every second.

The buffer size is also adjusted so the program does not seem to be frozen while it is downloading/uploading a file chunk.

Of course I want testing done! Please report back in the ctl32 forum any issues you encounter. Also I will gladly answer any questions you have. The more valuable contributions to the classes came from user comments and doubts, so don't hold back and post as much as you want/need.

Carlos
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform