473,666 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to: Multiple File Download(Upload )

Hello,
I created an application where the users need to download files. I have the
list of the files stored in a database and I present the list to download in
a Datagrid. Here comes my question.
How can I make it possible that the user selects multiple files and
downloads them at once instead of clicking on every file to download?

With the file input control you can choose only one file at a time to
upload.
Is there a way to do an upload of a directory?

Any help will be appreciated

Thank You

Ivo Tcholakov
Nov 18 '05 #1
2 2169
Try this

http://www.codeproject.com/aspnet/multiuploads.as
----- Ivo Tcholakov wrote: ----

Hello
I created an application where the users need to download files. I have th
list of the files stored in a database and I present the list to download i
a Datagrid. Here comes my question
How can I make it possible that the user selects multiple files an
downloads them at once instead of clicking on every file to download

With the file input control you can choose only one file at a time t
upload
Is there a way to do an upload of a directory

Any help will be appreciate

Thank Yo

Ivo Tcholako

Nov 18 '05 #2
When downloading multiple files, it might make sense to zip the files and
then the user can just download the zip. There are zip components available
that allow you to programmaticall y create archives.

"Ivo Tcholakov" <iv****@videotr on.ca> wrote in message
news:Oq******** ******@TK2MSFTN GP12.phx.gbl...
Hello,
I created an application where the users need to download files. I have the list of the files stored in a database and I present the list to download in a Datagrid. Here comes my question.
How can I make it possible that the user selects multiple files and
downloads them at once instead of clicking on every file to download?

With the file input control you can choose only one file at a time to
upload.
Is there a way to do an upload of a directory?

Any help will be appreciated

Thank You

Ivo Tcholakov

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5516
by: Avin Patel | last post by:
Hi, I am looking for script to allow multiple files can be uploaded/attached in webform ( mostly cgi/perl or php). But I don't like the multiple input boxes using "<input type="file" size="40" maxlength="40" name="filename">" html tag. As it will limit the no. of files can be uploaded(only as many of this boxes I write in form & doesn't look good in form also). I am looking for multiple file upload in web form using "select" or
8
5215
by: Todd Acheson | last post by:
I'm having a small problem with uploading files in ASP.NET. My html page for uploading has something similar to: <form id="Form1" method="post" enctype="multipart/form-data" runat="server"> <input id="MyFile" type="file" runat="server" size="50"> <asp:Button Runat="server" ID="btnUpload" Text="UPLOAD" /> </form> .. . .and the corresponding vb.net code:
1
2753
by: BW | last post by:
I am creating an upload/download function for an extranet site. Files will be uploaded to directory based upon the users login and associated project. The function works as long as I use "c:\Temp" as the directory. When I use any other hard coded directory or even Server.MapPath() the upload function fails and returns the error: "Exception has been thrown by the target of an invocation." Once I change the root directory to "c:\Temp",...
5
1765
by: Shawn H. Mesiatowsky | last post by:
I am creating an intranet App that is a document management system, and now I have been told they wan't the ebilty to version control directories, not just files. So I have the file upload and download working great, but I have no idea where to start on how to upload or download an entire directory, thankfully there will be no sub directories in the directories. Also, they do not want to select file by file because there may be 40 files in...
6
3609
by: Paul | last post by:
Hi there, When adding a "File Field" HTML control to an aspx page to facilitate file uploading, the following occurs: 1. You select a file that is larger than the allowed size limit. 2. Once the user selected the too large file, the page is redirected to a "page not found" error page. 3. This is as per the docs, but my question is:
2
6428
by: Mike Kober | last post by:
I am having issues with the File Upload control for sending files to the server via HTTP. The speed of the upload is often between 20kbs and 40kbs. If I use the LAN at work to the server, it runs over 2.3mbs. The slow speeds are when using multiple providers including RoadRunner and DSL. One test instance of a 40mb file showed it running at about 20kbs for about halfway, then it burst up to 500kbs for the rest of the file.
5
4486
by: Chamnap | last post by:
Hello, I want to implement multiple uploads with multiple iframe posting to the server at the same time. Do all of you think it is possible to do this? Does this ways has any drawbacks? Give me some idea, please. Thanks Chamnap
7
2113
by: der_grobi | last post by:
That is the Problem: I have an ASP.NET Webapplicatipon where I can upload single files to the Server. That works fine. But now, I want to Upload multiple files. I know the path of the files, i know then name(s) of the files. Security is no problen (the Application works in an Intranet). I search for a Javascript solution - but I only found: "That doesn't work! Try FTP or PHP!" But there's no possibility to use PHP or FTP. I
5
4718
by: John Devlon | last post by:
Hi, Some people like to go on vacation during christmas time, others try to do something they never did before.... I would like to create a multiple file upload page, with some nice progress bars.... You can buy ceveral components on the web but wheres the fun in that ? Creating a page that uploads multiple files, without the progress bar is not
9
4498
by: torso | last post by:
Hi Does someone know a good tutorial for multiple file upload with xmlHttpRequest. I am trying to do directory upload. So I could choose directorys and upload those to the server. Another solution would be fake multiple file upload. It's takes only address of directorys and after choosing few address, you could push send button and PHP would do the rest.
0
8356
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8866
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8550
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8639
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7385
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2769
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1772
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.