I am using tftpcli in passive mode to upload files, while uploading a file, for 
some reason if a connection problem occurs in the middle of the transfer, the 
program freezes ,

to overcome this problem I thought that I can,

- Create   a thread to make the ftp transfer 
- Assign OnProgress event, and in this event handler PostMessage to the main 
application window,
- In main thread if message from thread does not come for long time, kill the 
thread and restart the uploading by creating another thread instance.

Is this approach is a proper solution or what would you suggest?
Best Regards,



      
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to