[ubuntu-uk] Exploiting A Nautilus Server Connection

2011-11-04 Thread Nigel Verity

Hi
A bit of programming advice, please.
I routinely use Nautilus to copy files between machines and to manipulate 
remote file structures. Once I've connected to a remote server in Nautilus, can 
I then exploit that connection in a program to open files on that server, such 
as in an fopen() call?
Very grateful for any ideas.
Thanks
Nige  -- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Exploiting A Nautilus Server Connection

2011-11-04 Thread Juan J.
On Fri, 2011-11-04 at 12:47 +, Nigel Verity wrote:
 Hi
 
 
 A bit of programming advice, please.
 
 
 I routinely use Nautilus to copy files between machines and to
 manipulate remote file structures. Once I've connected to a remote
 server in Nautilus, can I then exploit that connection in a program to
 open files on that server, such as in an fopen() call?
 
Gnome used to implement some remote access thought fuse, and the remote
disk is mounted on ~/.gvfs/SOMETHING.

I believe you can access to the remote file system using that path and
FUSE should provide de required magic to your fopen works as if it were
a local file.

I used sshfs [1] with FUSE [2] directly (without Nautilus), and it works
amazingly well.

Regards,

Juan

1: http://fuse.sourceforge.net/sshfs.html
2: http://fuse.sourceforge.net/




-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/