PDA

View Full Version : QDirModel over network?



Kumosan
24th October 2008, 09:02
Hi,
does anyone know if it is possible to 'stream' a QDirModel over a TCP connection to a remote QTreeView? I don't see how this could be done. I don't even expect that it is possible. Else Qt would have more or less accidentally created a new remote filesystem, which easily could compete with nfs. But you never know, perhaps someone here has an idea?

wysota
24th October 2008, 09:08
I don't really see a point in reinventing the wheel... You have a number of protocols you can use, including samba and ftp :)

Kumosan
24th October 2008, 09:24
I don't really see a point in reinventing the wheel... You have a number of protocols you can use, including samba and ftp :)

I have only very limited access to the remote machine. nfs or samba is a no go.
I'd prefer sshfs for this problem, but I have to access the remote file system via
a windows machine. I don't know whether there is a way to use sshfs on windows.
And even if there is, the ppl for which I write the program would to totally
incapable to install it. The program I write is only a favour I do for some friends
and I am not willing to render any additional administrative services.

Currently I let the remote machine create an xml file, send it over the tcp connection
and update a lokal model with it. Works fine, I can live with it. The 'model over tcp'
is more or less an academic question. When I started my program I looked into
this possibility, failed, and am now interested, if someone else might have an
idea and if and how this could be possible. :)