Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to upload a folder in asp.net

How to upload a folder in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RaghuSanta
    wrote on last edited by
    #1

    Hi all, How to upload a folder in asp.net.

    A B 2 Replies Last reply
    0
    • R RaghuSanta

      Hi all, How to upload a folder in asp.net.

      A Offline
      A Offline
      Amit Agarrwal
      wrote on last edited by
      #2

      you need to zip that folder

      Dotnet

      1 Reply Last reply
      0
      • R RaghuSanta

        Hi all, How to upload a folder in asp.net.

        B Offline
        B Offline
        Britney S Morales
        wrote on last edited by
        #3

        Upload :doh: ¿Create? DirectoryInfo di = Directory.CreateDirectory(Url)

        keep Learning and you never will be out of date...

        E 1 Reply Last reply
        0
        • B Britney S Morales

          Upload :doh: ¿Create? DirectoryInfo di = Directory.CreateDirectory(Url)

          keep Learning and you never will be out of date...

          E Offline
          E Offline
          ednrgc
          wrote on last edited by
          #4

          You can't upload an entire directory but you can speed up the process of uploading by allowing users to upload zip files and unzipping them once they reach the server, that was you could upload lots of files and directories in 1 click. Take a look at this free zip component: http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx There's an example in the download that will show you how to unzip a file

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups