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
03:03 pm
3NM0W9HQ8Show this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To: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.



Rick Strahl
West Wind Technologies


from Maui, Hawaii

Making waves on the Web


Viewing all articles
Browse latest Browse all 10393

Trending Articles