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
  1. Home
  2. Web Development
  3. ASP.NET
  4. Batch File Upload

Batch File Upload

Scheduled Pinned Locked Moved ASP.NET
csharpwinformstutorialquestion
3 Posts 2 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.
  • T Offline
    T Offline
    Talal Sultan
    wrote on last edited by
    #1

    Hi, I was wondering if there is a way to perform a batch file upload. For example, the user clicks on browse and selected multiple files. A bit like we can do with WinForms OpenFileDialog. I didn't see that it is possible using the FileUpload control. Did I miss it? If not, is there another way of performing batch uploads? Thanks, Talal

    -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

    D 1 Reply Last reply
    0
    • T Talal Sultan

      Hi, I was wondering if there is a way to perform a batch file upload. For example, the user clicks on browse and selected multiple files. A bit like we can do with WinForms OpenFileDialog. I didn't see that it is possible using the FileUpload control. Did I miss it? If not, is there another way of performing batch uploads? Thanks, Talal

      -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

      D Offline
      D Offline
      Declan Bright
      wrote on last edited by
      #2

      I don't think it is possible to select multiple files with one FileUpload control but it is possible to use multiple FileUpload controls to select the files and then do a bulk upload. Check out this article: Upload multiple files using the HtmlInputFile control[^]

      Declan Bright www.declanbright.com

      T 1 Reply Last reply
      0
      • D Declan Bright

        I don't think it is possible to select multiple files with one FileUpload control but it is possible to use multiple FileUpload controls to select the files and then do a bulk upload. Check out this article: Upload multiple files using the HtmlInputFile control[^]

        Declan Bright www.declanbright.com

        T Offline
        T Offline
        Talal Sultan
        wrote on last edited by
        #3

        Thanks for the quick reply. Yes I have seen this article. I can also use the Telerik FileUpload control where the user would be able to dynamically add as many files as he wants, but still this would be tedious as he would have to click "new" for each new file to upload (when you have like 100), whereas a batch selection would be easier for him. I kind of had a feeling that it would not be possible, but maybe someone has found a way :)

        -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

        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