954,517 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

From Web Page, Download a Folder containing Files To Client PC

I have a Folder on the Web Server that has files that have been uploaded by users via my Web App. I would like to create a button click event that would download the Folder (Directory) and all of its contents.

Currently I have a link on a web page that lists all of the files so the user can do right-click | "Save Target As" to download one file at a time. My App is written in VB.NET ASP.NET 3.5.

Thanks in advance for your help,

PhilipJohn

PhilipJohn
Newbie Poster
3 posts since Aug 2009
Reputation Points: 10
Solved Threads: 0
 

You will need to write a "scraper" which depends on the format of the page displaying the links. Please use code tags to paste the HTML of the page you're wanting to scrape for links or post a link to the page here.

How to use code tags:

[code=html]
....html here....
[/code]

sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735
 

Create a compressed (ZIP) file using classes of System.IO.Compression namespace and then download it.

Example

__avd
Posting Genius (adatapost)
Moderator
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You