Asynchronous File System Browser
page 2 of 2
by Taewook Kang
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 18142/ 40
Article Contents:

Sample Screen Shot

Author
Taewook Kang ( T. Kang ) works as a web developer at "Office of University Communications", "Wichita State University".

View Entire Article

User Comments

Title: Try this.   
Name: RBDurgin
Date: 2007-06-24 9:19:38 PM
Comment:
Haven't downloaded the code yet, but you would want to do something like this, after getting the selected fileName:
Response.Clear();
Response.AddHeader("Content-Disposition",
"attachment; filename=" + fileName);
Response.AddHeader("Content-Length",
file.Length.ToString());
Response.ContentType = "application/octet-stream";
Response.WriteFile(fileName);
Response.End();
Title: Awesome!   
Name: Doug
Date: 2006-11-08 5:10:41 PM
Comment:
Yes I would like to do what Kevin wants to do as well.
Title: Saving Files   
Name: Kevin
Date: 2005-07-10 12:07:29 PM
Comment:
Hello,
Great script!! One small request though, can it be modified so that whenever it finds a file you can click on the file to open it or right click it to save it? I am attempting to use this for browsing a directory of pictures.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2017 ASPAlliance.com  |  Page Processed at 2017-11-20 3:54:05 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search