Article View: borland.public.csharpbuilder.language.csharp
Article #97Re: Downloading file
From: Marc Rohloff TeamB
Date: Thu, 13 Apr 2006 23:07
Date: Thu, 13 Apr 2006 23:07
12 lines
1500 bytes
1500 bytes
On Thu, 13 Apr 2006 19:35:20 +0430, M. Noroozi Eghbali wrote: > I need to download a file using OnClick event or Command of a ASP button. Is > there any possible code for this? You need to start with something like: Response.ContentType = ... content type of file being downloaded ... Response.BinaryWrite((byte[])buffer ); -- Marc Rohloff [TeamB] marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID:
<19gfl2c5erybn$.dlg@dlg.marcrohloff.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<443e76c3@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,f82076c469db8a3a X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Marc Rohloff [TeamB]" <"on request"> Subject: Re: Downloading file Newsgroups: borland.public.csharpbuilder.language.csharp User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit References: <443e76c3@newsgroups.borland.com> Date: Thu, 13 Apr 2006 19:07:00 -0400 Message-ID: <19gfl2c5erybn$.dlg@dlg.marcrohloff.com> X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR X-Antivirus: avast! (VPS 0615-2, 04/12/2006), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 65.31.1.121 X-Trace: newsgroups.borland.com 1144969619 65.31.1.121 (13 Apr 2006 16:06:59 -0700) Lines: 12 X-Authenticated-User: mrohloff Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail