HttpFileCollection fileColl = Request.Files;
how can i get- how many files have processed from Request.Files to fileColl, if i am using some 1000s of files with 1 GB of approx size.
HttpFileCollection fileColl = Request.Files;
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Jun 26, 2013, 8:44 AM
After reading the file object inside the loop, you will be reading the file content and lets say saving it. So you can have counter to know how many files has been saved successfully from this condition.
Regards,
Iftikar
Ravi ShakyaPosted Jun 26, 2013, 8:36 AM
Iftikar HussainPosted Jun 26, 2013, 5:08 AM
You can do like this
protected void Button1_Click(object sender, EventArgs e)
Regards,
Iftikar
Remember to click "Mark as Answer" on the post, if it helps you.