Re: ftp:// handling



Le 13/11/11 23:29, Dmitrij D. Czarkoff a écrit :
>
> 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.

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] - http://live.gnome.org/LibSoup

-- 
⊨ Michael Gratton.
⚙ <http://mjog.vee.net/>

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]