473,837 Members | 1,888 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

downloading multiple files from the server

34 New Member
I want to create a functionality for downloading multiple files from the server. User can check multiple files and then when he selects download button it should download all the selected files automatically.

Please help me in this regard....

Thanks

Manjit
May 19 '08 #1
6 1610
kenobewan
4,871 Recognized Expert Specialist
I want to create a functionality for downloading multiple files from the server. User can check multiple files and then when he selects download button it should download all the selected files automatically.

Please help me in this regard....

Thanks

Manjit
This sounds straight forward. Where are you having trouble?
May 19 '08 #2
Plater
7,872 Recognized Expert Expert
Zip them and then send them?
May 19 '08 #3
Curtis Rutland
3,256 Recognized Expert Specialist
Zip them and then send them?
Here's a good library for doing just that.
May 19 '08 #4
Plater
7,872 Recognized Expert Expert
Here's a good library for doing just that.
Is that any better then using the zip methods built into .net (System.IO.Comp ression namespace) already?
May 19 '08 #5
Curtis Rutland
3,256 Recognized Expert Specialist
Is that any better then using the zip methods built into .net (System.IO.Comp ression namespace) already?
It is much easier, AFAIK. I've never used the built in methods, but I have used this, and it can be almost as simple as using an array.

Something I read that made me want to try it:
The .NET Framework has GzipStream and DeflateStream classes for compression tasks, but they do not support the standard ZIP file / folder FileEntry mechanism to zip a folder with all its files and subfolders.

Fortunately, the ICSharpCode SharpZipLib project does support this, as well as passwords for zip files and compression level.
Also, it's open source, so that's a plus.
May 19 '08 #6
manjitsarma
34 New Member
Thank u all.I am working on it .

Regards...

manjit
May 22 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

6
10577
by: x. zhang | last post by:
Hi Guys, We know that we can use <input type=file ...> to upload one file per time to the server. My question is if there are some way to upload multiple files per time to the server. (Of course, we can use <input type=file ...> multiple times and then submit once. But this is not what I want, because we have to click "browse" button several times to select multiple files before submit in this way.) "Upload multiple files PER TIME", I...
2
1405
by: Gopal | last post by:
I am using ASP.NET and i wish to push down 3 files (text/xml) from the server to the client. I wish to give the user an option to select the folder in which we wants these files to be dumped. Any idea how can I download these files onto the client in one go? Thanks ~GOpal
0
268
by: Michael L | last post by:
I have a problem and all the parts to fix it. I have a datagrid on my page that gets all of its information from a MS SQL Server 2000 Database. I do not have the option to go to VS.NET 2005 or ASP.NET 2.0 yet as my host is not that at that stage yet. I have PDF files that I want to download but I want to do something similar to what google does and have a checkbox in front of each box and have the application zip them into one file and...
0
1642
by: just.starting | last post by:
I am having problem while downloading files from an apache server2.0.53 with php4.3.10.While downloading some files it generally stops after downloading some specific amount and then stops downloading with the error message: "the source file could not be read". And the error is not dependent on the size of the file, as I can download a file of 6MB but having problem with a file with 652KB. It always stops after 666880bytes. Thanks.
4
5172
by: yehaimanish | last post by:
I am developing the project management system. Each Project: 1. Title, description ... , stored in mysql database 2. Upto ten files (initial description), (name in db, file in file system) 3. Message board, stored in mysql database (1 file per message, message in db, file in file system) I need a link (Download Project) which will download all the project
1
1499
by: Maury | last post by:
Hello, I would like to download multiple files with one click in a web form link, I know how to download a single file, and I think that a solution is to zip all the files in an archive, and then downloading it, but I'm looking fo another solution, do you think that is is possible another way? Thanks! ..:M:.
3
1642
by: fatima.issawi | last post by:
Hello, Is it possible to download multiple files? Right now I am using the following code in a loop, but I can only save one file - the first one. Response.Clear(); Response.AddHeader("Content-Disposition", "attachment; filename=" + fileName); Response.AddHeader("Content-Length", "10"); Response.ContentType = "application/octet-stream";
2
2121
by: Ed Jay | last post by:
I have n files sequentially named sitting on a server that I want to download to my local machine. file1.jpg file2.jpg file3.jpg The script downloads only the last file, e.g., in this example, only file3.jpg is downloaded.
0
1445
by: metalheadstorm | last post by:
I have a tcp client - server implementation running in the same program, on different background worker threads. There will be instances of this program on multiple computers so they can send and receive files between each other. I can send files sequentially between computers using network stream, but how would I send multiple files at the same time from computer A to B. Sending multiple files over one connection ( socket ) is fine, but...
0
9846
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10890
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
10634
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
10279
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
9416
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...
1
7819
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7007
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
5855
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4479
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

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.