To force the save window is easy - make up your own content subtype (main
type application) and set it:
Content-Type: application/x-download-this-file-you-stupid-browser
Remember to start with an x- as your type is obviously not registered with
the IANA.
The tricky part is setting up
On Wed, Nov 20, 2002 at 11:24:33AM +0200, Issac Goldstand wrote:
To force the save window is easy - make up your own content subtype (main
type application) and set it:
Content-Type: application/x-download-this-file-you-stupid-browser
Remember to start with an x- as your type is obviously
never heard of.
Issac
- Original Message -
From: Tom Hukins [EMAIL PROTECTED]
To: Issac Goldstand [EMAIL PROTECTED]
Cc: Dennis Daupert [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, November 20, 2002 12:27 PM
Subject: Re: How do I force a 'Save Window?'
On Wed, Nov 20, 2002 at 11
Thanks all for the great suggestions. This group is wonderfully helpful.
I tried the quick route, setting MIME type to application/octet-stream,
and that works fine for xl spreadsheets, but I still get the same behavior
as before with MS Project files (browser IE 5.00.3105.0106, which is one
of
webcast with more information:
http://support.microsoft.com/default.aspx?scid=/servicedesks/webcasts/wc0111
01/wcblurb011101.asp
In either document you'll see that application/octet-stream does not force a
save window because IE classifies it as an ambiguous type.
Note that you can always tell
: Wednesday, November 20, 2002 9:21 AM
Subject: Re: How do I force a 'Save Window?'
Dennis,
Microsoft has documentation on how IE handles MIME types,
content-disposition headers, etc. It may be out of date, and not
accurate,
but it's certainly worth reading. Have a look at:
http
-
From: "Dennis Daupert" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 20, 2002 10:10
AM
Subject: Re: How do I force a 'Save
Window?'
Thanks all for the great suggestions. This group is
wonderfully helpful. I tried the quick route, setting MIME type
Bonus Points : Use
Content-Disposition: attachment;filename=blabla
and pre-set the name of the file on disk.
I tried it hard (in my case I generate PDF files. No way. Internet
Explorer ignored it. Finally I decided to perform redirect to URL
ending with /blabla.pdf - then it worked
/octet-stream' ) ;
$r-send_http_header;
and for their XP boxes it opens properly in browser ( same
for project ). They are posting to index.html in this case
but get the filename properly.
On my mac os x I actually get a file named 'report.xls' in
my save dialog.
So, as often
files popup a browser instance and MS
Project, and you get the usual Enable macros and such popups as
normal, but only a subset of the project displays in the browser window,
and none of the buttons are active in the Project application. Bummer.
How can I force a Save File dialog screen
/
--
- Original Message -
From: Dennis Daupert [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 19, 2002 4:02 PM
Subject: How do I force a 'Save Window?'
I have file upload working, can upload files of ascii or binary format.
But a problem when you browse to a page
PROTECTED]; Dennis Daupert [EMAIL PROTECTED]
Sent: Tuesday, November 19, 2002 4:27 PM
Subject: Re: How do I force a 'Save Window?'
You can always set the content type to application/octet-steam but I
wouldn't expect IE to honor the content type.
Regards,
Tim Tompkins
: Dennis Daupert [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 19, 2002 4:02 PM
Subject: How do I force a 'Save Window?'
I have file upload working, can upload files of ascii or
binary format.
But a problem when you browse to a page that dynamically
displays
hyperlinks to files
For IE 5.5, IE doesn't respect the Content-Disposition header and will
prompt the user to save a file as foo.pl (or whatever the name of your
script happens to be)
M$ claims that this was fixed in IE 5.5 SP1.
They document this bug (as fixed) here:
http://support.microsoft.com/default.aspx
try:
[EMAIL PROTECTED]
M. SubbaReddy wrote:
Hello Gurus,
I am very sorry, if this post is on wrong list.
I have a perl script, which gives dynamic page with search files list.
Pdf and text files are displaying in browser, when clicking in the link of
file.
But, I want to save on to disk
On Thu, 29 Jun 2000, Vladislav Safronov wrote:
Hi,
Does __END__ directive at the end of every mod_perl script
reduce memory used by httpd ?
in a module, no. in an Apache::Registry script, __END__ blocks are not
supported. if they were, __END__ would consume more memory to maintain
the
Hello folks,
This may be a weak question, but I have to ask it anyway.
I have a script running under mod_perl.
It works fine, but every once in a while the browser/\"web
server\" offers to save the script instead of executing it.
Any ideas ? Thanks!
Arshavir
It's being sent as a content-type that the web-server/browser doesn't know
how to handle
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 25, 2000 5:37 PM
To: [EMAIL PROTECTED]
Subject: save as
Hello folks,
This may be a weak question
Hello folks,
This may be a weak question, but I have to ask it anyway.
I have a script running under mod_perl.
It works fine, but every once in a while the
browser/\\\"web
server\\\" offers to save the script instead of executing
it.
Any ideas ? Thanks!
Arshavir
I think you should check the httpd.conf. You should tell the Apache to
handle the *.cgi or *.pl in some dir as CGI programs.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 26, 2000 6:36 AM
Subject: save as
Hello folks,
This may be a weak
[EMAIL PROTECTED] writes:
This may be a weak question, but I have to ask it anyway.
I have a script running under mod_perl.
It works fine, but every once in a while the browser/\"web
server\" offers to save the script instead of executing it.
Any ideas ? Thanks!
you s
Hi,
Does __END__ directive at the end of every mod_perl script
reduce memory used by httpd ?
Best regards,
/Vlad
22 matches
Mail list logo