Run ftpget without parameters. You can set the default returned
mime-type to whatever you want.
Alas, though, is the mime-type is a viewable type (like text/plain) then
shift-click (or save-to-disk) will _not_ always work correctly.
Sometimes a binary file will get mangled, if I remember rightly.
D
George Michaelson wrote:
>
> It's a side-effect.
>
> Ok. imagine you use this to browse a unpacked C source archive.
>
> as distributed, the current mime_table.h will let you see c and c++
> and headers, but not lex, yacc or Makefiles. It wouldn't see an Imake.tmpl
> ok, nor pascal or lisp.
>
> You can look at .texinfo but not the resultant .info files.
>
> I realize this is inversion of the current behaviour, but isn't it possible
> the current file extension set actually reflects the majority of save-to-disk
> instances, and that unknown extensions are more likely to be useful viewed
> inline?
>
> After all, the shift-click method exists to force any link to a save-to-disk
> but there isn't an inverse to force-to-screen, and furthermore the behaviour
> of the squid is now inverting that raw browser.
>
> Really, the principle of least-suprise and least-change is to mimic the
> browser. Even if this breaks downloads, its consistent! And shift-click
> fixes the breakage.
>
> cheers
> -George
-- Did you read the documentation AND the FAQ? If not, I'll probably still answer your question, but my patience will be limited, and you take the risk of sarcasm and ridicule.Received on Sun Mar 15 1998 - 20:59:30 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:23 MST