DevHeads.net

ftp:// handling

Hello!

As everyone might have noticed, the ftp:// links aren't supported in
Epiphany. Is there any way to set an external URI handler for them
either in Epiphany or in GNOME? Does GNOME infrastructure have the URI
handler settings? Does Epiphany support it?

P.S.: Sorry for cross-posting, I don't know the proper list for that, as
a question may have a solution in either place.
P.P.S.: I know about the corresponding bugs in Epiphany bugzilla, but
they don't give enough info about the problem and I don't want to
pollute them with discussion.
P.P.P.S.: I'm not on list, please include me in TO or CC.

Comments

Re: ftp:// handling

By Sergio de Almei... at 11/14/2011 - 13:30

Em Qua, 2011-11-09 às 22:38 +0100, Dmitrij D. Czarkoff escreveu:

Arch linux had a patch (I do not use arch linux any more...)
that fix the ftp:// in gnome

Go to the archlinux site (or AUR archlinux), get the PKG tarbal, watch
for
the patch... (it is a tar archive...)

Should work

Re: ftp:// handling

By Dmitrij D. Czarkoff at 11/15/2011 - 09:03

On Mon, Nov 14, 2011 at 6:30 PM, Sergio de Almeida Lenzi
<lenzi. ... at gmail dot com> wrote:
I use Arch Linux right now. ftp:// links don't work in epiphany. AUR
doesn't have related patches.

Re: ftp:// handling

By Guilhem Bonnefille at 11/13/2011 - 05:01

Hi,

2011/11/9 Dmitrij D. Czarkoff < ... at gmail dot com>:
I have the same problem. More surprisingly, GNOME correctly handles
ftp (or at least, nautilus can do the job, when Epiphany fails).

Keep us informed if you find some solution.

Re: ftp:// handling

By Dmitrij D. Czarkoff at 11/13/2011 - 08:29

On Sun, 2011-11-13 at 10:01 +0100, Guilhem Bonnefille wrote:
Effectively to avoid wrangling various source files of GNOME
infrastructure and Epiphany I would kindly ask for some insight about
how the protocols handling is supposed to be configured and to work in
GNOME, so that I could have something to base my further investigation
on.

I would love to write and submit a patch and maintain it until it gets
included into Epiphany, but I just don't want to do enormous work of
searching this functionality in GNOME infrastructure, as I currently
believe that there are people who can kndly point me to the right place.

Re: ftp:// handling

By Michael Gratton at 11/14/2011 - 19:40

Le 13/11/11 23:29, Dmitrij D. Czarkoff a écrit :
Epiphany uses WebKitGTK for web page fetching and rendering, which in
turn uses LibSoup[0] for its networking implementation. So the first
port of call would be to check that Soup supports FTP, or can be made to
do so. Once that is the case, then some additional but hopefully trivial
work would be needed in Epiphany and perhaps WebKitGTK to enable support
for it.

If this doesn't work out, Nautilus and GNOME in general uses GIO for its
networking, a virtual file system API for GLib. The standard
implementation of this is GVFS, which does indeed support FTP, but is
designed for a "mount and browse" use case, rather than a "fetch this
URI" use case. I believe there isn't any support for changing this, so
it might be something of a dead end anyway.

Perhaps you should look into registering a desktop-wide protocol handler
for FTP that just an program like wget?

//Mike

[0] - <a href="http://live.gnome.org/LibSoup" title="http://live.gnome.org/LibSoup">http://live.gnome.org/LibSoup</a>