Re: Write a file to outputstream and supply a diferent name for it
From: Anton Sommer (anton.schamy_no_spam__at_arcor.de)
Date: 03/15/04
- Next message: rwg: "RE: Session expires"
- Previous message: Curt_C [MVP]: "Re: generate random student id in asp.net"
- In reply to: Cowboy \(Gregory A. Beamer\): "Re: Write a file to outputstream and supply a diferent name for it"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 15 Mar 2004 16:34:20 +0100
Thank you Gregory for answering,
"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@comcast.netNoSpamM> schrieb im
Newsbeitrag news:u%23tH2mpCEHA.2404@TK2MSFTNGP11.phx.gbl...
> You can write to the HTTP stream directly. The biggest hurdle is ensuring
> any type you are "downloading" has a MIME type in the web server, or it
will
> be downloaded as garbage. I would watch how big of a file you "download"
via
> this method, as timeout is a potential (not present in links, but will be
in
> downloading from a page).
How would I set the MIME type individually and how would I set the file name
suggested to the user?
Thank you
Anton
- Next message: rwg: "RE: Session expires"
- Previous message: Curt_C [MVP]: "Re: generate random student id in asp.net"
- In reply to: Cowboy \(Gregory A. Beamer\): "Re: Write a file to outputstream and supply a diferent name for it"
- Messages sorted by: [ date ] [ thread ]