Web Forms :: Upload Multiple Files On One Selection
Sep 25, 2012I need to upload multiple file, any link to achieve this.
View 1 RepliesI need to upload multiple file, any link to achieve this.
View 1 RepliesI want to make a file upload where i can select multiple documents
at a time....is it possible with ASP.net....
that means i want only and only onr file upload control and with this
i can select multiple fils at a time...the present asp.net file upload conrol alloes us to select only single file....How can i use it for multiple selection of file with on file upload control...
the bestway to handle multiple file uploads without activex,applet or flash. User should have the ability to select multiple files in one browse click.
View 3 RepliesI am using this link
[URL]
Now my requirement is Multiple file upload code should be in the usercontrol but when click in the btnSubmit from aspx then it has to upload in folder and has to get save in DB Table.
How to do this? Is there any easy way to do this?
[Code]....
I'm trying to upload multiple files, so my first componet consist of a user control with an upload multiple files class:
[Code]....
After compiling I get the following exception:
Failed to set the specified COM apartment state
Is there a way to overcome this exception to upload multiple files?
Are there any code examples out there that allow a user to select multiple files or even an entire folder for upload?
View 2 RepliesI 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!
View 4 RepliesIm 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.
i want to upload more then one file at a time?
View 1 RepliesIf you can I want Upload multiple files in database like this....
View 1 RepliesIs there simply no way to grab multiple files and upload them at the same time via a webform? I have searched everywhere and I cannot find a single code example. The best that I can find is selecting one file at a time to a listbox for holding and then uploading. This is NOT going to work for me.
View 6 Repliesforeach (HttpPostedFile file in FileUpload1.PostedFile) {
string filename = Path.GetFileName(file.FileName);
string foldername = DateTime.Now.ToString();
Directory.CreateDirectory("../Webimage/"+foldername);
file.SaveAs(Server.MapPath("../Webimage/" + foldername + filename));
[Code] ....
I am getting this error under foreach
foreach statement cannot operate on variables of type 'system.web.httppostedfile'
the first file selected uploads perfectly - every subsequent file is 0bytes. The code for the upload button is presented below.
Protected Sub cmdUpload_Click(sender As Object, e As EventArgs) Handles cmdUpload.Click
Dim hfc As HttpFileCollection = Request.Files
For i As Integer = 0 To hfc.Count - 1
If i < 9 Then team = "/Team0" & i + 1 & "/"
If i > 8 Then team = "/Team" & i + 1 & "/"
Dim myFtpWebRequest As FtpWebRequest
[code]....
I need a cross browser solution to upload multiple files without using Flash or HTML5 in ASP.Net
View 1 RepliesHow to Upload multiple files from folder and then Download uploaded multiple files from folder without using Gridview in ASP.NET c#.
View 1 RepliesCan i upload multiple files using ctrl or shift keys in asp.net?As it happened in windows folder.
View 3 RepliesI am using the following code to upload multiple files:
// Upload Source Code -HANDLER upload.ashx
<%@ WebHandler Language="C#" Class="Upload" %>
using System.Collections.Generic;//using System.Linq;using System;
[Code].....
How to upload multiple images on single button click....
View 1 RepliesI had implemented FileUpload code. In which for every particular Id, it creates Folder/Directory (if not exist) on Page _load.Then inside that particular Id's folder it will upload single or multiple files.
HTML:
<asp:Label ID="LFileUpload" runat="server" Text="Upload File"></asp:Label>
<asp:FileUpload ID="FileUpload1" runat="server" Width="300px" AllowMultiple="true"/>
<asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="UploadFile" ValidationGroup="none"/>
<asp:Label ID="LMsg" runat="server" Text="" Visible="false"></asp:Label>
[CODE]...
I have reffered the Select and Upload Multiple Files Gmail Style using JQuery and ASP.Net to upload multiple files but i want to upload files in button click. how can i call the code in button click because above mentioned article uploads the file using upload .ashx?
View 1 Replieshow to download selected files from grid view. Initial I will display list of files with file paths in grid view along with check boxes. when user select some files, I should be able to download selected files in a zip file.
View 1 RepliesWorking on vs2005 with .vb
I have made an application to upload an image and a textbox to give that image a caption. So, there's a privilege to upload only one image and caption at one time.
Now, I want that I am able to upload multiple images together and also can give caption to all images to.
So, there should be a ADD button to generate multiple filupload control and textbox together.
I know the asp.net file upload control only allows users to select one file at a time, however i am looking for another way using asp.net to allow the users to select multiple files?
View 1 Repliesgood way to upload multiple files at the same time? I currently am able to upload one file at a time, but would like to be able to select them all and then upload. Right now i am using asp: FileUpload control to upload the files, I know I could just use several of these and then loop them in the code behind to upload, but the pages I am working on have different amount of images to upload.
I have worked on 2 so far, and the first page I had to upload 12 items, while the second page I had 9 to upload. So i don't want to have a ton of these on the screen. Is there anyway i could use a ListBox or something to load them all in the listbox then loop through the box? I would prefer to have a listbox or textbox even, then have like 12 FileUpload's on the page.
Is there any control out there that will allow a user to upload multiple files at a time to a web server?
View 3 Replies