Sure you can...

Just send a header like this in addition to the Content-Type:

Content-Disposition: attachment; filename="whateverfilenameyoulike"

/Håkan

On Friday 10 August 2001 00:29, you wrote:
> Greetings,
>
> I am printing data from a script directly back
> to the browser.  The data is text but not HTML.
> I have changed the ContentType, which in turn
> forces the "SaveAs" dialog to be raised.  So
> far so good...
>
> What I would like to do is dictate the default
> file name in the "SaveAs" dialog.  Can it be done?
> Thanks.
>
> Steve
> _____________________
> Stephen Bardsley
> RLW Inc.
> Malta, NY
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to