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 - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -