473,387 Members | 1,398 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Multiple File Download

Is there a way to download multiple files from a server?

If not then:

How do I zip up multiple files using the .net classes in
vb?

Thanks

Billy Jacobs
Jul 21 '05 #1
4 2335
Hello Billy,

Thansk for posting in the group.

After reviewing the post, I think we need more information to provide an
answer to your question. :) Will you post more information on:

1) Which kind of application are you developing? Windows forms application
or web form application?

2) What is the meaning of that server? A web server or a just a network
file server?

Based on my experience,

1) If it is a windows forms applicaiton, then what we develop is an
application like FTP client. We could refer to the following links for a
code sample:
http://www.codeproject.com/csharp/ftplibrary.asp
2) If it is a asp.net application, I think you want to download a file from
a web server.
Please refer to the following link. It contains a good sample in ASP.NET on
how to download and upload file.

"Downloading and Uploading Files"
http://msdn.microsoft.com/library/en...mig-downloadin
ganduploading.asp?frame=true#aspnet-jspmig-downloadinganduploading_topic6

For multiple files, you could download them one by one. If you wanna to
zip them, you could do it in server side and then download the zip file
once. I think it is up to you. :)

Does that answer your question?

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

This response contains a reference to a third-party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.

Jul 21 '05 #2
Web Application / Web Server

I want the user to be able to check off multiple files and
download them all at once.

Does the .net framework contain classes to zip up files?
1) Which kind of application are you developing? Windows forms application or web form application? Web Application2) What is the meaning of that server? A web server or a just a network file server?
Web ServerBased on my experience,

1) If it is a windows forms applicaiton, then what we develop is an application like FTP client. We could refer to the following links for a code sample:
http://www.codeproject.com/csharp/ftplibrary.asp
2) If it is a asp.net application, I think you want to download a file from a web server.
Please refer to the following link. It contains a good sample in ASP.NET on how to download and upload file.

"Downloading and Uploading Files"
http://msdn.microsoft.com/library/en- us/dnaspp/html/aspnet-jspmig-downloadinganduploading.asp?frame=true#aspnet-jspmig- downloadinganduploading_topic6
For multiple files, you could download them one by one. If you wanna to zip them, you could do it in server side and then download the zip file once. I think it is up to you. :)

Does that answer your question?

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

.

Jul 21 '05 #3

"Billy Jacobs" <bi********@csa.com> wrote in message
news:00****************************@phx.gbl...
I want the user to be able to check off multiple files and
download them all at once.
From the server? Or a client, like IE?
Does the .net framework contain classes to zip up files?


No, but here's one:
http://www.icsharpcode.net/OpenSourc...b/Default.aspx

Unfortunately it's licensed under the GPL.
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

Jul 21 '05 #4
"Klaus H. Probst" <us*******@vbbox.com> wrote in news:eZP5x#MsDHA.4060
@TK2MSFTNGP11.phx.gbl:

Unfortunately it's licensed under the GPL.


Yep, but it's got an exception that you can use it as a library in a
commercial product. IANAL, but I think this makes it roughly LGPL licensed.

Mark
Jul 21 '05 #5

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

Similar topics

2
by: Ivo Tcholakov | last post by:
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....
2
by: moondaddy | last post by:
I have a asp.net app where a user will need to download multiple files at once. Below is some sample code I'm using to download a single file which works perfectly, however, rather than a single...
1
by: RJN | last post by:
Hi Sorry for posting this again. Requirement is to allow the user to download multiple files at once from browser. User will be displayed a grid on the browser which will list the various files...
5
by: Stanav | last post by:
Hello all, Thanks in advance for any replies... Now, my question is: Is it possible to do a multiple files download for a single response event on an aspx page? If there is, please give me some...
1
by: Ryan Malone | last post by:
I have a situation where I need to download multiple files in a vb.net application. To speed up the process, I am trying to download multiple files at one time looping through each of the files...
4
by: Billy Jacobs | last post by:
Is there a way to download multiple files from a server? If not then: How do I zip up multiple files using the .net classes in vb? Thanks Billy Jacobs
1
by: vivek | last post by:
Hi All, I want to download two or more file to user machine. Any one have idea.. How to download multiple file in user machine. When I tried to download two file using below code. I am not...
35
by: keerthyragavendran | last post by:
hi i'm downloading a single file using multiple threads... how can i specify a particular range of bytes alone from a single large file... for example say if i need only bytes ranging from...
2
by: ghart | last post by:
Hello all, I have been trying to determine the best way to do this, but can't seem to get any solution to work exactly the way I want. The scenario is that I have some xml files being placed on...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.