Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Download from web without dialog box
Message
 
To
11/08/2006 20:29:59
Fausto Garcia
Independent Developer
Lima, Peru
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01145000
Message ID:
01145478
Views:
18
>Hi,
>
>How can I download certain files from a web server to a specific destination on the client's hard disk without getting the browser's file download dialog? I need some code do the direct download to the client as a command button is clicked on the web form.
>
>TIA,

You can use the WebRequest class or even easier WebClient class in .NET.

If your needs are more sophisticated you can find out more about using WebRequest and a wrapper class I've created called wwHTTP here:

http://www.west-wind.com/presentations/dotnetWebRequest/dotnetWebRequest.htm

Hope this helps,
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform