Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Download from web without dialog box
Message
 
À
11/08/2006 20:29:59
Fausto Garcia
Independent Developer
Lima, Pérou
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01145000
Message ID:
01145478
Vues:
20
>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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform