c++ - How to stop an ongoing upload in vc -


in application, can upload upload files server. using wininet. want stop upload process when user click on stop button. if user click on stop button ongoing process not stop uploading. how can deny file uploading.

if using wininet, need post file in several smaller chunks. if uses presses "cancel" need set variable abort upload. must checked after each small upload... full example of splitting uploads smaller pparts can found here: http://support.microsoft.com/kb/177188/en-us need download "hsrex.exe" file , open winzip or 7-zip , extract "bigpost.cpp" file. can post code here, if want...


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -