KDirLister and remote URLS ?
faure at kde.org
Sat Nov 4 22:38:51 GMT 2006
On Sat Nov 4 2006, Martin Koller wrote:
> Looking at
> I ask myself if it is possible at all to watch a remote URL for changes ?
No, it isn't. I don't think fish:// even provides any way to implement it... well, other
than polling, see below.
The KIO framework has support for notification of changes to remote file systems:
KDirNotify is a dcop/dbus interface where changes are announced; this is called by
konqueror, but this doesn't help you for changes made by others of course.
Something would have to list the fish directory regularly and compare the output,
I don't see another way. And actually KDirLister does exactly that (listing and comparing)
when it is notified of a change... so this is equivalent to -assuming- that there is a change,
regularly, in KDirLister. This would work, but it would result in a rather large
utilisation of the network and the server -- I'm not sure this is a good idea.
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel