RE: Change default file name...

2001-08-09 Thread Stephen Bardsley
Thanks to all of you. This works great. Steve _ Stephen Bardsley RLW Inc. Malta, NY - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Change default file name...

2001-08-09 Thread ap
Here's some snippets of code that I use to send a textfile; to generate the link that the user clicks on to download the file (sorry for the mess, I cut it straight out of the ASP script!): print "{'id'}, "\" title=\"", $href->{'uzfname'}, "\" type=\"application/octet-stream\">", $href->{'uzfname

Re: Change default file name...

2001-08-09 Thread Håkan Lindqvist
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 tex

Re: Change default file name...

2001-08-09 Thread Sven Köhler
e text/plain or text/html - "inline" would force the browser to show the content ... - Original Message - From: "Stephen Bardsley" <[EMAIL PROTECTED]> To: "Apache::ASP Mailing List" <[EMAIL PROTECTED]> Sent: Friday, August 10, 2001 12:29 AM Subject

Change default file name...

2001-08-09 Thread Stephen Bardsley
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. Ca