Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2007

Tip: Looking for answers? Try searching our database.

How to Download data from server to client

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Menaka - 28 Jun 2007 10:26 GMT
using asp.net what is the best technology to download text data from server
to client machine.
Peter Bradley - 28 Jun 2007 12:01 GMT
Redirect to a text file.  The client browser will then deal with it in
whatever way it has been configured to do so.  If you want the user to do
something specific with it, as opposed to just reading it in the browser,
you'll have to give the user instructions as to what to do.  We have this
situation with the download of student loans information from the Student
Loan Company (SLC), which are made available to us as text files posted to
the SLC's web server.  Our users fetch the files using their browsers and
then save the file from the browser to an agreed location.

If you want to download to the client in the background, then you musn't.
It would be a huge security hole.

Peter

> using asp.net what is the best technology to download text data from
> server
> to client machine.
Peter Bromberg [C# MVP] - 28 Jun 2007 19:04 GMT
WebClient DownloadString method should do the trick.
-- Peter
Site:  http://www.eggheadcafe.com
UnBlog:  http://petesbloggerama.blogspot.com
BlogMetaFinder(BETA):    http://www.blogmetafinder.com

> using asp.net what is the best technology to download text data from server
> to client machine.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.