p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

aspdotnet_website_programming thread: The download function in file manager of ASP.NET Website programming didn't work


Message #1 by "Wendy Li" <wli@s...> on Thu, 23 Jan 2003 18:08:48
Hi,

I tried to run the code of file manager from the book "ASP.NET Website 
programming", but the download.aspx page didn't work, it was supposed to 
download the file as is, but instead it just download the page itself --
download.aspx.

Any help is appreciated!!

Thanks,

Wendy
Message #2 by David Barnes <DavidB@w...> on Thu, 23 Jan 2003 18:12:25 -0000
Hi Wendy

The column immediately to the right of the file name contains a 'download'
icon. Click it to download source files.

This is documented on page 99 of the C# version of the book. I'm not sure
what page it's on in the VB.NET version. The file name simply browses to the
file on the server, wheras the download icon sends the source file to you as
a stream. You can choose to either save or open the file.

So, it's not a bug it's a feature! But you did have me worrying for a while
there -- I must admit that it's not the clearest interface ever invented.

Cheers

David Barnes
Editor, Wrox Press

> -----Original Message-----
> From: Wendy Li [mailto:wli@s...]
> Sent: Thursday, January 23, 2003 6:09 PM
> To: Website Programming with ASP.NET
> Subject: [aspdotnet_website_programming] The download function in file
> manager of ASP.NET Website programming didn't work
> 
> 
> Hi,
> 
> I tried to run the code of file manager from the book 
> "ASP.NET Website 
> programming", but the download.aspx page didn't work, it was 
> supposed to 
> download the file as is, but instead it just download the 
> page itself --
> download.aspx.
> 
> Any help is appreciated!!
> 
> Thanks,
> 
> Wendy
> ---
> Professional Design Patterns in VB.NET: 
> Building Adaptable Applications
> 
> Want to know how design patterns bring reusable 
> design and adaptabilty to your applications? How 
> to recognize the need for a design pattern 
> solution? How to select, design, and implement 
> the right patterns? How parts of the .NET Framework 
> (like the .NET Data Providers and .NET Remoting) 
> take advantage of design patterns? This book 
> presents a practical approach to using design 
> patterns in VB.NET, by focusing on the relevance 
> of design patterns in the different tiers of a 
> distributed n-tier architecture. 
> 
> http://www.wrox.com/books/1861006985.htm
> 
> 
Message #3 by "Wenlan Li" <wli@s...> on Thu, 23 Jan 2003 13:38:27 -0500
Hi, David:

Thanks for replying me so quickly. I already downloaded the code. My
book is VB version (also on page 99). I understand that it returns the
file as a stream, but it is not exactly like downloading since for file
type like zip file, it didn't download the .zip file, just returned
download.aspx page with all of the sources from all files in the zip
file which is not like ftp.

Thanks again for your help!!

Wendy

-----Original Message-----
From: David Barnes [mailto:DavidB@w...] 
Sent: Thursday, January 23, 2003 1:12 PM
To: Website Programming with ASP.NET
Subject: [aspdotnet_website_programming] RE: The download function in
file manager of ASP.NET Website programming didn't work


Hi Wendy

The column immediately to the right of the file name contains a
'download' icon. Click it to download source files.

This is documented on page 99 of the C# version of the book. I'm not
sure what page it's on in the VB.NET version. The file name simply
browses to the file on the server, wheras the download icon sends the
source file to you as a stream. You can choose to either save or open
the file.

So, it's not a bug it's a feature! But you did have me worrying for a
while there -- I must admit that it's not the clearest interface ever
invented.

Cheers

David Barnes
Editor, Wrox Press

> -----Original Message-----
> From: Wendy Li [mailto:wli@s...]
> Sent: Thursday, January 23, 2003 6:09 PM
> To: Website Programming with ASP.NET
> Subject: [aspdotnet_website_programming] The download function in file

> manager of ASP.NET Website programming didn't work
> 
> 
> Hi,
> 
> I tried to run the code of file manager from the book
> "ASP.NET Website 
> programming", but the download.aspx page didn't work, it was 
> supposed to 
> download the file as is, but instead it just download the 
> page itself --
> download.aspx.
> 
> Any help is appreciated!!
> 
> Thanks,
> 
> Wendy
> ---
> Professional Design Patterns in VB.NET:
> Building Adaptable Applications
> 
> Want to know how design patterns bring reusable
> design and adaptabilty to your applications? How 
> to recognize the need for a design pattern 
> solution? How to select, design, and implement 
> the right patterns? How parts of the .NET Framework 
> (like the .NET Data Providers and .NET Remoting) 
> take advantage of design patterns? This book 
> presents a practical approach to using design 
> patterns in VB.NET, by focusing on the relevance 
> of design patterns in the different tiers of a 
> distributed n-tier architecture. 
> 
> http://www.wrox.com/books/1861006985.htm
> 
> 

---
Professional Design Patterns in VB.NET: 
Building Adaptable Applications

Want to know how design patterns bring reusable 
design and adaptabilty to your applications? How 
to recognize the need for a design pattern 
solution? How to select, design, and implement 
the right patterns? How parts of the .NET Framework 
(like the .NET Data Providers and .NET Remoting) 
take advantage of design patterns? This book 
presents a practical approach to using design 
patterns in VB.NET, by focusing on the relevance 
of design patterns in the different tiers of a 
distributed n-tier architecture. 

http://www.wrox.com/books/1861006985.htm



  Return to Index