* [gentoo-user] OT: Firefox - saved or not ot be saved...
@ 2011-06-13 4:26 meino.cramer
2011-06-13 5:26 ` [gentoo-user] " Hartmut Figge
0 siblings, 1 reply; 5+ messages in thread
From: meino.cramer @ 2011-06-13 4:26 UTC (permalink / raw
To: Gentoo
Hi,
there is one feature of forefox, which bugs me:
On the same site (www.blenderswap.com) I click
to files to download. One is a *.blend, the
other one is a *.rar.
When I click the *.blend, the file gets downloaded
and stored on my hd at once -> bad!
When I click the *.rar, the file gets NOT downloaded
at once and instead I am offered a dialog, which
asks what to do.
I looked into Preferences->Application, which lists
filetypes and the according action and DONT find
an entry for *.blend files.
Where can I change the action selected by Firefox
which gets executed for a certain filetype else?
Thank you very much in advance for any help!
Best regards,
mcc
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: OT: Firefox - saved or not ot be saved...
2011-06-13 4:26 [gentoo-user] OT: Firefox - saved or not ot be saved meino.cramer
@ 2011-06-13 5:26 ` Hartmut Figge
2011-06-13 6:51 ` meino.cramer
0 siblings, 1 reply; 5+ messages in thread
From: Hartmut Figge @ 2011-06-13 5:26 UTC (permalink / raw
To: gentoo-user
meino.cramer@gmx.de:
> there is one feature of forefox, which bugs me:
> On the same site (www.blenderswap.com) I click
> to files to download. One is a *.blend, the
> other one is a *.rar.
> When I click the *.blend, the file gets downloaded
> and stored on my hd at once -> bad!
> When I click the *.rar, the file gets NOT downloaded
> at once and instead I am offered a dialog, which
> asks what to do.
>
> I looked into Preferences->Application, which lists
> filetypes and the according action and DONT find
> an entry for *.blend files.
What happens depends on the Content-Type with which the server delivers
the file. Here is an example.
http://www.triffids.de/pub/blend/
Both files are identical text files, but hm.blend1 comes with text/plain
and hm.blend2 comes with text/hafi. The last is unknown *g*, so it will
be asked what to do. text/plain is well known and the browser will
display its content.
> Where can I change the action selected by Firefox
> which gets executed for a certain filetype else?
Look at the Content-Type of your *.blend. One way to do this is with
HEAD which is part of libwww-perl.
hafi@i5 ~ $ HEAD http://www.triffids.de/pub/blend/hm.blend2
200 OK
Connection: close
Date: Mon, 13 Jun 2011 05:21:15 GMT
Accept-Ranges: bytes
ETag: "942355-b-4a590cf7e03b1"
Server: Apache
Content-Length: 11
Content-Type: text/hafi
Last-Modified: Mon, 13 Jun 2011 05:01:21 GMT
Client-Date: Mon, 13 Jun 2011 05:21:15 GMT
Client-Peer: 85.13.136.212:80
Client-Response-Num: 1
Hartmut
--
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: OT: Firefox - saved or not ot be saved...
2011-06-13 5:26 ` [gentoo-user] " Hartmut Figge
@ 2011-06-13 6:51 ` meino.cramer
2011-06-13 7:36 ` Adam Carter
0 siblings, 1 reply; 5+ messages in thread
From: meino.cramer @ 2011-06-13 6:51 UTC (permalink / raw
To: gentoo-user
Hartmut Figge <h.figge@gmx.de> [11-06-13 07:32]:
> meino.cramer@gmx.de:
>
> > there is one feature of forefox, which bugs me:
> > On the same site (www.blenderswap.com) I click
> > to files to download. One is a *.blend, the
> > other one is a *.rar.
> > When I click the *.blend, the file gets downloaded
> > and stored on my hd at once -> bad!
> > When I click the *.rar, the file gets NOT downloaded
> > at once and instead I am offered a dialog, which
> > asks what to do.
> >
> > I looked into Preferences->Application, which lists
> > filetypes and the according action and DONT find
> > an entry for *.blend files.
>
> What happens depends on the Content-Type with which the server delivers
> the file. Here is an example.
>
> http://www.triffids.de/pub/blend/
>
> Both files are identical text files, but hm.blend1 comes with text/plain
> and hm.blend2 comes with text/hafi. The last is unknown *g*, so it will
> be asked what to do. text/plain is well known and the browser will
> display its content.
>
> > Where can I change the action selected by Firefox
> > which gets executed for a certain filetype else?
>
> Look at the Content-Type of your *.blend. One way to do this is with
> HEAD which is part of libwww-perl.
>
> hafi@i5 ~ $ HEAD http://www.triffids.de/pub/blend/hm.blend2
> 200 OK
> Connection: close
> Date: Mon, 13 Jun 2011 05:21:15 GMT
> Accept-Ranges: bytes
> ETag: "942355-b-4a590cf7e03b1"
> Server: Apache
> Content-Length: 11
> Content-Type: text/hafi
> Last-Modified: Mon, 13 Jun 2011 05:01:21 GMT
> Client-Date: Mon, 13 Jun 2011 05:21:15 GMT
> Client-Peer: 85.13.136.212:80
> Client-Response-Num: 1
>
> Hartmut
> --
> Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
> Von Usern fuer User :-)
>
>
Hi Hartmut,
Oh, yeah! GREAT! I didn't know of "HEAD" at all - this nice tool fixes
the problem at once! Great help, thank you very much ! :)))
Have a nice "Pfingstmontag" :)
Best regards,
mcc
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: OT: Firefox - saved or not ot be saved...
2011-06-13 6:51 ` meino.cramer
@ 2011-06-13 7:36 ` Adam Carter
2011-06-13 7:49 ` Hartmut Figge
0 siblings, 1 reply; 5+ messages in thread
From: Adam Carter @ 2011-06-13 7:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 192 bytes --]
>
> > Look at the Content-Type of your *.blend. One way to do this is with
> > HEAD which is part of libwww-perl.
>
Easier to just use 'wget -S <url>' if you dont have libwww-perl installed.
[-- Attachment #2: Type: text/html, Size: 428 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: OT: Firefox - saved or not ot be saved...
2011-06-13 7:36 ` Adam Carter
@ 2011-06-13 7:49 ` Hartmut Figge
0 siblings, 0 replies; 5+ messages in thread
From: Hartmut Figge @ 2011-06-13 7:49 UTC (permalink / raw
To: gentoo-user
Adam Carter:
>> > Look at the Content-Type of your *.blend. One way to do this is with
>> > HEAD which is part of libwww-perl.
>
> Easier to just use 'wget -S <url>' if you dont have libwww-perl installed.
wget -S --spider <url>, hm? ;)
Hartmut
--
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-13 7:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-13 4:26 [gentoo-user] OT: Firefox - saved or not ot be saved meino.cramer
2011-06-13 5:26 ` [gentoo-user] " Hartmut Figge
2011-06-13 6:51 ` meino.cramer
2011-06-13 7:36 ` Adam Carter
2011-06-13 7:49 ` Hartmut Figge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox