Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: wwwResponse::DownloadFile

$
0
0
Re: wwwResponse::DownloadFile
Web Connection 5.0
Re: wwwResponse::DownloadFile
Nov. 29, 2012
05:36 pm
3NM11R2H1Show this entire thread in new window
Gratar Image based on email address
From:Raymond
To:Rick Strahl
OK, my bad. I sold my app a couple of years back and everything has been working so well for so long, I didn't think of that. They are running on 5.301 so I'm getting the go ahead to buy the latest.

Thanks Rick for all of your hard work over the years.

Raymond


Looks like you have an old version of wc.dll. Use a current version of the DLL.

+++ Rick ---



I am trying to use the DownloadFile function of the wwResponse class, but am going something wrong/silly.

Response.DownLoadFile( "c:\temp\lds_7.xlsx", "application/vnd.ms-excel", "lds_7.xlsx" )

This causes the dialog box to popup on the client and it is displaying all info correctly (filename/type/size), but once the file is saved its content is "WC_TRANSMITFILE: c:\temp\lds_7.xlsx" instead of the actual file.

I get the same result with any type of file. I must be missing something?

Thanks.




Viewing all articles
Browse latest Browse all 10393

Trending Articles