Re: GnomeVFS issue with FTP sites

Nickolay V. Shmyrev wrote:
В Сбт, 06/01/2007 в 17:22 -0800, Micah Carrick пишет:
Nickolay V. Shmyrev wrote: 
В Сбт, 06/01/2007 в 15:00 -0800, Micah Carrick пишет:
Not sure if this is a gnome or a gnome-vfs issue, however, I've noticed 
that FTP sites show the "unknown" icon for folders when using GnomeVFS. 
SSH still shows the appropriate folder icon though.

This is using gnome-vfs-2.16.2 on Gnome 2.16.0 (Fedora Core 6).

That looks strange, thanks for the bug report. Most probably it's the
issue with the gnome setup. Can you please send the following:

What mime type is reported by "gnomevfs-info ftp://someserver/somedir"?

What icon does it search for? You can find the name of the icon by
looking into strace log. You can attach to the nautilus process with the
command "strace -p <nautilus pid> 2> nautilus.log".

I investigated it a bit more and sent the following email to

"Not sure if this is already known... but I'm experiencing some
problems with GnomeVFS over FTP connections. Folders are coming back
as application/octet-stream rather than x-folder/normal and thus the
icons in Nautilus are all the "unknown" icon rather than folder icons.

I'm using gnome-vfs-2.16.2 on Gnome 2.16.0 (Fedora Core 6)."

And running the command you gave (I didn't know about that command and
wrote a quick C program to get the info):

Well, if you can write small program, you can also step through
unix_ls_to_file_info function in ftp-method.c of gnome-vfs module and
find where does it really assign octet-stream. Probably it incorrectly
parses output from your server.

Possibly. I'd certainly want to learn. I know how to use gdb... i guess I would just need to build gnome-vfs from source using the -g option?

- Micah Carrick
  Freelance Developer |

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