Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: timer,thread and powertcp ftp tool
wangchengyang1
wangchengyang1@gmail.com

From: shanghai, AB Peoples Rep of China
Posts: 1
Member Since: 12/28/05
posted December 28, 2005 9:50 AM

Hi,when I use your iftp.h and iftp.cpp to develop my applications for ftp download/upload,I am puzzled by some relations about timer,thread and the powertcp com .For a instance, after the startup of application, a thread is triggered to dologin and doretrieve from ftp server,simultaneously,some timers are started to control the ftp downloading progress using ftp->abort command. after ftp->abort or current selected file finished downloading, thread should be blocked using WaitForSingleObject(), and will be setEvent() when some timer is triggered.
However in my application, when WaitForSingleObject() is released, some error messages such as "ftp is blocked ... due to in timer...not completed withing timeout....
Would you please explain some key notions about using your ftp tool together with timer and thread?
Thank you very much, firstly!
yours
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 3, 2006 9:18 AM

The thread in which the the ftp control is running must have a working message pump processing messages in order to function. I think your calls to WaitForSingleObject are probably blocking messages.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX