N
ntm
I am using the following ASPC.VB code to download a text file:
Response.Clear()
Response.ContentType = "ignore/this" ' arbitrary
Response.AddHeader("Content-Disposition",
"attachment;filename=file.txt")
Response.WriteFile(tempFileName)
Response.Flush()
Response.End()
I get the open/save/cancel dialog box on the Browser side. If I
select save, I see a brief download window and the the Save As dialog
box appears and I can save the file successfully. But if I select
open, I get the brief download window and then Notebook launches but a
Notebook error appears with the message:
"Cannot find the C:\Documents and Settings\Nick\Local
Settings\Temporary Internet Files\Content.IE5\03RJISDH\file[1].txt
file."
It's as if the file was downloaded but deleted before it could be
opened by Notebook.
I'd appreciate any help you can offer.
Nick
Response.Clear()
Response.ContentType = "ignore/this" ' arbitrary
Response.AddHeader("Content-Disposition",
"attachment;filename=file.txt")
Response.WriteFile(tempFileName)
Response.Flush()
Response.End()
I get the open/save/cancel dialog box on the Browser side. If I
select save, I see a brief download window and the the Save As dialog
box appears and I can save the file successfully. But if I select
open, I get the brief download window and then Notebook launches but a
Notebook error appears with the message:
"Cannot find the C:\Documents and Settings\Nick\Local
Settings\Temporary Internet Files\Content.IE5\03RJISDH\file[1].txt
file."
It's as if the file was downloaded but deleted before it could be
opened by Notebook.
I'd appreciate any help you can offer.
Nick