.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Need a good solution on how to allow a user to upload multiple files

Posted By:      Posted Date: September 21, 2010    Points: 0   Category :ASP.Net

Im currently working on a project where i have a form that users fill out in order to submit issues.
My ask is to give the user the ability to upload multiple files together with the form submission and also go back each time they have an update and upload more if they need.
The way i have it right now is that i only have one FileUpload Control and once the Save button is clicked the file is save in the database together with the form info.

 I already has a separate table for the files with reference to the ticket but im just not sure how can i allow the user to submit as many files as they want in an easy way.

Any ideas?

View Complete Post

More Related Resource Links

Upload multiple files in asp.net

The article Upload multiple files in asp.net was added by habdulrauf on Friday, July 09, 2010.

Some times we need to allow user to upload as many files as he/she wants instead of fixed number of files.So here is the procedure to achieve this. Idea is taken from Joe's video.%@ Page Language="C#" AutoEventWireup="true" CodeFile

Upload multiple files to Server

I have an ASPX Page that contains a fileuploader, I want to know how can I upload multiple files together to server and also create a new folder on Server and then upload these files into this new folder! Please send your sample codes in VB.NET,   Thanks,

remove upload multiple files link from upload.aspx..

hi, is there a way to remove the upload multiple files link from upload.aspx..without using any custom coding.

C# Upload multiple files in sequence

I have  a project that requires me to upload multiple files to an FTP server. I have the code working perfectly as long as I upload one file and close the connection. The problem I am running into is when I try to upload more than one file. I keep getting different errors depending on how I configure the code. For example, I can upload the first file using a WebRequest... and then run the Stream and upload fine. However, when I go to the second file, I run into an error where it tells me that the Stream is not clsed. Not a problem, I can close the Stream but I run into a problem on the second file because I get a differnet error telling me that the Stream is open. We configured the code to open the connection upload the file, close the connection, open another connection upload the file and close it but that is causing problems. My goal is to open a session, open the Stream, upload the file, go to the next Stream and upload the file, and close stream and connection. Basically I want to upload the files just as if I was using a BAT file, which by the way works great, but I want to accomplish all of this with C# instead of calling a BAT file. I pasted the code below and I would really appreciate your help. I need to upload the files in order and not all at once. Thank you in advance FileInfo ToUpload = new FileInfo("D:\\FTP\\FTPScripts" + "\\&quo

Is there a way to upload multiple files to a SharePoint List Item in MOSS 2007? I can not use Doc Li



Is there a way to upload multiple files to a SharePoint List Item in MOSS 2007? I can not use Doc Library because of the funcationality.

Thank you,



Upload Multiple Files is disable in sharepoint 2010 how can a fix this


After upload a wrong file in sharepoint 2010 , the upload multiple files button dont work anymore . If a click on the button upload Multiple Files  a will see only a light blue screen . How can a Fix this Problem .?

Multiple user access for files


Dears ,


I am building a web-application that uses xml files to send them to Web-Services , and the application will be used by alot of users i have the files in my directory , and before continueing development I was thinking about when several users will use the same xml file at the same time knowing that , the users will have to ( read , write ) on these files , so if one user is writing on the file and another one will read from it we will have a bit confilict here . Please advice urgently .



I thought of copying the whole xml file TEXT and placing it as a string in the application but if i have to use like 10 xml files this will be a big performance issue i guess.



Thank you.

Need to turn on/enable multiple files upload for some users



I have some users not being able to upload multiple files to a SharePoint folder.

Details: In the upload sub-menu I have

  1. Upload Document
  2. Upload Multiple Documents

However, the other users only have option 1 "Upload Document" but they cannot even see "Upload Multiple Documents"

What should I do? I am open to suggestions. If you need additional questions please let me know.


upload multiple files from a single upload button i infopath form


Hi all

        My Infopath form contains an image upload button . Is it possible to upload multiple files at a time from the same upload button.




Upload Multiple Documents to Asset Library fails for files >100 MB


The upload of large files > 100 MB fails with the "Upload Multiple Documents / Drag & Drop"-Feature, where it is no problem to upload the failed files as single file via Upload Document - "Browse..." with filesize up to 2GB.

Any workaround or configuration tricks known?

(Windows Server 2008 R2, SQL Server 2008 R2, SharePoint Server 2010)


failed to upload multiple files to a document library!


I have a document library. I have upload a lots of files by upload multiple documents function several days ago. When I tried to upload some files today. It always failed if I drag a folder into the upload multiple documents dialog.

Drag a folder with any number of files in it to the upload multiple documents dialog. Failed.
Drag files into the upload multiple documents dialog. Sucess.
Create a folder manually, then upload files into the new folder. success.

Anybody have some clues for this problem. Why today I always failed to upload files when I drag a folder?

Thanks very much.

Missing "Upload Multiple Files" tap



I can't find the tap of "upload multiple files". Could anyone tell me what is happening?

I have created a document library. In the "Upload" menu, there is only one choice - "Upload Document". After clicking on that, there is still nothing related to "multiple files".

I understand that I could use the explorer view to upload, but I just wonder if there is any other method which can handle this.

Thank you very much.


Upload Multiple File using JQuery in asp.net

In this article I have explained how to upload multiple files using file upload control. I have used jQuery plugin for uploading multiple files.

I have also explained how to check for file type, file maximum size limit using jQuery & also using server side validation code.

Multiple Instances of User Control


I have a user control that I place on a page severl times.  When I make a selection on a ddl in one one control the SelectedIndexChanged event fires for all the control on the page for that ddl.  So I get duplication of an insert that I do.  Is there a way to make sure these events are isolated so this doesn't happen.


Toolbox: Easy File Backup, Exploring Files And Folders Inside Visual Studio, Multiple Monitor Softwa


If the responsibility for creating, managing, and executing routine backups is yours, these tools will make it easier. Also see how you can browse folders and files from inside Visual Studio.

Scott Mitchell

MSDN Magazine May 2009

file upload in Create User Wizard Created User event with UpdatePanel Tag wont work?



In my Create User Wizard1 Created User Wizard Event, I am collecting extra information from text boxes and allowing

the user to uplad a file.



I have put the Submit button within an Update Panel Tag but since I have done this it does not work.

Is there a way round it. In this situation would you use a trigger.?


<br />

  <asp:UpdatePanel ID="UpdatePanel2" runat="server">

  <asp:Button ID="StepNextButton" runat="server"  CommandName="MoveNext"  align="middle"
                                            Text="Submit my Profile" />

Visual Studio 2010 Creates Two Solution Files


When I create a new file system based web application in Visual Studio 2010, for example, named as "MyWebSite", two folders were created by the studio: MyWebSite and MyWebSite(2). The second folder only contains a solution file while the first folder has the solution file as well. Is this a new feature? Where is the setting that can avoid the second folder? Thanks,

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend