How To Zip Multiple Files

Jun 17, 2010

I am designing a webpage that allows users to select multiple files and download those files. I was wondering if someone could point me in the right direction or examples as to how this accomplished in asp.net using VB.NET as my language. I'm thinking I need to determine which check boxes the user checked and then go out and programatically go out using VB.NET and compress and put those files in one zip file which will be sent to user for download. It would be nice also to incude a progress bar as well on the webform as it's compressing the files..

View 13 Replies


Similar Messages:

Configuration :: ResourceManager And Resx Files - Files To Display Items In Multiple Languages

Oct 13, 2010

I have an application that uses resource files to display items in multiple languages. My app uses quote a lot of javascript and the alerts need to display in the local language. To do this, I have created an http handler which will read the keys and values of the culture-specific resource file and write them to a JSON array which is then embedded in the page in a script tag, the messages can then be accesses using, for exmaple:

Message.Error (en-GB = "Error", fr-FR = "Erreur")

The messages http handler works great in development, however when I run the application on a test server, I get the error: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Resources.Alerts.resources" was correctly embedded or linked into assembly "App_GlobalResources.b0n9j90e" at compile time, or that all the satellite assemblies required are loadable and fully signed. The code that I use to acccess the resource file is:

ResourceManager manager = Resources.Alerts.ResourceManager;
ResourceSet resourceSet= Resources.Alerts.ResourceManager.GetResourceSet(Thread.CurrentThread.CurrentCulture, true, true);

Where Resources.Alerts is the type that contains my multi-lingual definitions. The build action for the Alerts.resx file is set to "Embedded Resource". Any ideas why this works locally but not on my test server, am I missing something?

View 1 Replies

How To Get Multiple Overlapping Config Files For Multiple Solutions

Mar 30, 2011

I'm very new to ASP.net, so I'm just figuring this out.First off, I have multiple separate projects that will be hosted on the same server.Second, they must be able to share certain settings (like connection string, configuration options, etc).Third, those shared settings must be configurable for different deployments (test, prod, etc).

View 1 Replies

Creating A Zip For Multiple Files?

Mar 23, 2011

I want to create a zip files for multiple file

Ex: Folder One-----------> file1, file2, file3

want to zip 3 files into folder.zip

View 5 Replies

MVC :: How To Download Multiple Files From Database

Dec 16, 2010

am able to download single files which is coming as bytes from database..how to go with multiple files....

View 4 Replies

Web Forms :: Uploading Multiple Files In 1.1?

Sep 23, 2010

I am trying to make a web application which copies the existing functionality of a windows forms application using Visual Studio 2003. This windows application takes multiple (I am talking at least 30) text files and joins them together into one text file which can then be feed into a Mainframe system in the correct format. I have written web applications before that uploads images and pdfs but the key thing is it was always only one or two files at a time, so this was easy to do with the HTML fileupload control.

What I want to do is to be able to open a directory on the local computer and either automatically, or give the user the chance to multi select (I dont think this is possible) all of the 30 or so files they wish to upload. Once its been uploaded I can do the processing to join the files and create my new one etc. All the examples I have seen on the web, you have to select the files one by one to add to a list box and then they can all be uploaded but this wont be acceptable to my users...

View 3 Replies

Multiple Javascript Files, Combine Into One?

Feb 2, 2011

I am developing in asp.net mvc and using multiple javascript files.eg jquery, jquery-ui, google-maps my own js files etc.for performance should i combine these into one?if so how?

View 4 Replies

Configuration :: How To Use Multiple Web.config Files Using And VB

Nov 16, 2010

I have two webconfig files, on in the root directory and one in the other directory. I dont know how to access or specify for the particular pages or APIs those are in the folder.Root webconfig file used by another section and the 2nd one accessed by another api. I have no idea about that

View 3 Replies

Web Forms :: Want To Display Multiple .mht Files

Jan 11, 2010

I have a need to display multiple .mht files in one asp.net web page dynamically.

I tried to use iframce to display these multiples .mht files but ran into the auto height issues (scroll bar is not working as per my customer requirement). I searched the internet and found several posts with auto resize java code but ran into access denied problem even my .mht files are in the same domain. Spent a couple of days try different java auto ifamce resize examples code but none works for me so far.

I found some post about using a div html tag to display .html file without worry about the auto heigth issue but not sure how to implement it.

iframe auto iframce resize working examples.. or how dipslay these .mht files in div html tag without using the IE scroll bar.

View 1 Replies

Web Forms :: Uploading Multiple Files?

Mar 22, 2011

I wanted to add to my website the feature where the user would select some file (1 or more than 1) and uplaod them to my server.

View 4 Replies

C# - Downloading Multiple Files Using Ihttphandler?

Oct 20, 2010

I'm working on a reporting script which runs a number of reports (pdf) on button click. The reports are created on the web server then I'd like the user to be given the option to download the files. I have worked out the script for downloading one file from the server. But I'm not sure how to download multiple files? (there will probably be about 50)

After I run one report I redirect the user to a http handler script.

Response.Redirect("Download.ashx?ReportName=" + "WeeklySummary.pdf");
public class Download : IHttpHandler {
public void ProcessRequest(HttpContext context)
{

[Code]....

View 1 Replies

Upload Multiple Files At The Same Time?

Apr 2, 2012

good 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.

View 1 Replies

Web Forms :: Download Multiple Files As Zip

Nov 18, 2013

I have some documents in a folder ..i am creating zip file using the following code..but i am not able to download it at client side.
 
Imports ICSharpCode.SharpZipLib.Zip
Imports ICSharpCode.SharpZipLib.Core
Public Function ByteArrayToFile(_FileName As String, _ByteArray As Byte()) As Boolean
Try

[code]....

View 1 Replies

Combine Multiple Audio Files Query?

Apr 1, 2010

Is there any way to combine multiple Audio Files (.wav etc) into one file?

I have found an example here :

[URL]

Quote:

[code]....

View 1 Replies

Splitting The Code Behind File Into Multiple Files?

Apr 1, 2010

I have too many lines in my code behind file. Now it grows up to almost 3500 lines. I wonder if it can be splitted into several files.

To be specify, say I have CustomerEdit.aspx and code behind as CustomerEdit.aspx.cs. In my code behind, most of them are functions taking care of UI (i.e. protected void ... _Click() or protected void ... _SelectedIndexChanged()). I have some private functions, but they usually refer to some UI elements.

Question: Can I safely seperate CustomerEdit.aspx.cs into smaller files like CustomerEdit01.aspx.cs, CustomerEdit02.aspx.cs, etc?

View 7 Replies

Web Forms :: Upload Multiple Files With Usercontrol?

May 10, 2010

I 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]....

View 4 Replies

Web Forms :: Upload Multiple Files With Opendialog?

Mar 30, 2010

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?

View 3 Replies

Web Forms :: How To Select Multiple Files For Upload

Jul 26, 2010

Are there any code examples out there that allow a user to select multiple files or even an entire folder for upload?

View 2 Replies

Web Forms :: Upload Multiple Files To Server?

Sep 6, 2010

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!

View 4 Replies

Web Forms :: How To Allow User To Upload Multiple Files

Sep 21, 2010

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.

View 5 Replies

Uploading Multiple Files Using Ajax Uploader?

May 1, 2010

I m using CuteWebUI.AjaxUploader.dll and i want to upload multiple files in Filesystem like c:foldername at single click.how can i do this.

View 1 Replies

Web Forms :: Sharing CSS Files Across Multiple Projects?

May 5, 2010

I am trying to add multiple CSS files across several projects and have added them as a "link" but when I build my solution it does not copy the files. Is there any way to share a bunch of CSS files across several projects?

View 7 Replies

Uploading Multiple Files From Client To Server ?

May 3, 2010

uploading multiple files from client to server with asp.net.I have been looking at the asp.net upload control but that is for one file (unless someone knows a better way to do it).

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload.aspx

For what I want to do I don't even really need a browse. I know the files off of the client are at a certain location. Is it possible to create a collection of *HttpPostedFile*s and upload those?

http://msdn.microsoft.com/en-us/library/system.web.httppostedfile.aspx

I don't think it is possible but would be glad to be proven wrong. Is there a different asp.net method or control that will easily allow uploading multiple files from client to server?

View 3 Replies

Add Multiple Files Using Single FileUpload Control?

Sep 22, 2010

We need to upload multiple files using ASP.Net in one go. One option is to use the ASP.Net FileUpload control but it seems that it can't upload multiple files in one go. Any other option or ASP.Net FileUpload control can do multiple uploads in one go with some tuning?

View 2 Replies

Iis7 - 3.5 Application With Multiple Web.config Files (IIS 7)

Nov 28, 2010

We are working on a web application that creates more web applications.Each web application will have to get a Url Rewrite rule (URL REWRITE MODULE 2.0).As far as I know, there's no way to add such rules without modifying the web.config file (am I right??).So my plan was to work with multiple web.config partial files. One main .config file, and lots of .config files per application (every file will contain it's web application url rewrite rules).This way sounds a little bit messy, but I can't think of anything else, and suggestions will be welcomed.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved