Hi,How to upload floder of images in to my web site.
give me replay as early as possible.
How to upload floder in asp.net?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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
Kirtan PatelRank #292 · 8.6K reputationPosted Nov 1, 2009, 1:42 AM EST
Posted Nov 1, 2009, 4:06 AM EST
here i will post the code to extract files all inside a zipped folder.Here we are using the dotnetzip concept....
private void MyExtract() { string zipToUnpack = "C1P3SML.zip"; string unpackDirectory = "Extracted Files"; using (ZipFile zip1 = ZipFile.Read(zipToUnpack)) { // here, we extract every entry, but we could extract conditionally // based on entry name, size, date, checkbox status, etc. foreach (ZipEntry e in zip1) { e.Extract(unpackDirectory, ExtractExistingFileAction.OverwriteSilently); } } } Hope this helps u.... If Someway my answer helped u don't forgot to mark it as accepted answer....