Code
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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Iftikar HussainRank #423 · 5.9K reputationPosted Jun 26, 2013, 1:08 AM EDT
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.
Ravi Shakya18 reputationPosted Jun 26, 2013, 4:36 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jun 26, 2013, 4:44 AM EDT
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