Syntax for an ftp connection in Nautilus

Hi

I’m using vsftpd as an ftp server.

I can connect to my website document root located at /home/username/public_html, using Konqueror as an ftp manager if I use this syntax in the address bar:

ftp://username@www.mydomainname.com:21/username/public_html

The address doesn’t work in Nautilus. So what is the correct syntax to use in the address bar in Nautilus to make the connection?

Thanks
Swerdna

You shouldn’t need the :21, it’s implied by the FTP. Just try

ftp://username@www.mydomainname.com/

and see where you end up, then add the path to get to where you want.

Hi
Also wonder if the gvfs backend hasn’t kicked in. I have found I need
to run /usr/lib[64]/gvfs/gvfsd-ftp to get it working…


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default
up 1 day 23:46, 3 users, load average: 0.14, 0.09, 0.06
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

Thanks guys.
@ken_yap: OK I’m usingthis for testing purposes: ftp://www.domainname.com
That’s bare bones.
If I use Konqueror I’m asked for username/password and can attach no hassles. So then I try Nautilus and am asked for username/password and supply same creds as in Konqueror but I get this message: “The folder contents could not be displayed. Sorry …etc… could not connect to host.”

@malcolmlewis. I run this command as a normal user: /usr/lib/gvfs/gvfsd-ftp
The return I get from the console is this:

Added new job source 0x807e818 (GVfsBackendFtp)
Queued new job 0x807f818 (GVfsJobMount)
send_reply, failed: 1
Mount failed: No hostname specified

And my Desktop switches to Gnome.

I’ll log out now and try to get back in as KDE4 rotfl!

That was temporary. The desktop switched back after a delay while I watched — strange. Anyway, after running /usr/lib/gvfs/gvfsd-ftp as a notrmal user I then ran the ftp in Nautilus and got the same error message. I also ran the command /usr/lib/gvfs/gvfsd-ftp as root but got a strange message as follows:

Error connecting to D-Bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Any further thoughts anyone?

[thank goodness Konqy works and I’m doing Nautilus out of curiosity]

Hi
LOL, thought your were using Gnome DE…! Never tried use Nautilus
in KDE4, but I would guess some library issues and gvfsd not running?
If you start Nautilus can you see gvfsd running (pe -ef)

I normally use sftp or fish, else I use gFTP which can use ssh, http,
ftp etc. Not sure of the KDE equivalent.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 Milestone 2 (i586) Kernel 2.6.30-rc6-git3-4-default
up 2 days 8:52, 2 users, load average: 0.51, 0.55, 0.33
CPU VIA Esther processor 1000MHz GPU VIA CX700/VX700

I’ve just verified that the ftp address works in the address bar of nautilus in Ubuntu 9.04. But it still doesn’t work in Nautilus in openSUSE. In openSUSE, ps -aux | grep gvfsd shows the following processes:

john      4295  0.0  0.1   6064  2108 ?        S    11:58   0:00 /usr/lib/gvfs/gvfsd
john      4319  0.0  0.1  14720  2712 ?        S    11:58   0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.41 /org/gtk/gvfs/exec_spaw/0
john      5705  0.0  0.1  25972  2844 ?        S    14:28   0:00 /usr/lib/gvfs/gvfsd-ftp --spawner :1.41 /org/gtk/gvfs/exec_spaw/1

So I’m stumped now.

swerdna wrote:

> I’ve just verified that the ftp address works in the address bar of
> nautilus in Ubuntu 9.04. But it still doesn’t work in Nautilus in
> openSUSE.

Try connecting with an external ftp server, i.e., “ftp://ftp.gwdg.de” and
see what happens.

Greetings,


Camaleón

Connecting anonymously to ftp.gwdg.de works fine in Nautilus. How do I make Nautilus work for an authenticated session, I wonder?

swerdna wrote:

> Connecting anonymously to ftp.gwdg.de works fine in Nautilus. How do I
> make Nautilus work for an authenticated sessions, I wonder?

I can confirm that is not working :slight_smile:

Running gnome (opensuse 11.1), nautilus can connect to anonymous ftp sites
and list folders, but when accessing an external vsftp server I had, after
login with username and password it says “it cannot display the content of
folder… cannot connect to host”

In the same computer, that same action just works well with firefox, for
instance.

So maybe we are facing a bug here :-?

Greetings,


Camaleón

A bug – Hmmm. I’ll check out Novell’s bugzilla.

I found nought about this, so I posted a bug report here:
https://bugzilla.novell.com/show_bug.cgi?id=513485

swerdna wrote:

> I found nought about this, so I posted a bug report here:
> https://bugzilla.novell.com/show_bug.cgi?id=513485

I added myself to the bug :slight_smile:

Greetings,


Camaleón

Tested on main machine. Added myself too

Now, there’s a mighty trio!