kioslave FTP - working on new features
Juergen Pfennig
info at j-pfennig.de
Wed Sep 22 17:01:40 BST 2004
On Wednesday 22 September 2004 17:06, David Faure wrote:
> On Wednesday 22 September 2004 16:01, Juergen Pfennig wrote:
> > The kioslave ignores the existence of sym links.
>
> Does it? This used to work, at least. Can you actually reproduce 57172 ?
>
> > Kio seems to provide no infrastructure for sym links.
(0) ... none in the ftp client ...
> This is wrong. KIO definitely supports symlinks - how else would people
> copy symlinks around with konqueror?
> See KIO::symlink in job.h, and virtual void symlink(...) in slavebase.h
(1) Nice, would have checked that anyhow ... if the function works why did
nobody use it before?
I googled a bit and found not very much info on "standard" ways of handling
symlinks with ftp. The question will be: Take a symlink "as is" e.g. simply
copy it or modify it? As a 1st try I will not modify symlinks.
(2) The EPFL thing:
Some people hate it, Mozilla supports it. I found no clear advise on how to
handle symlinks. The i-field would help for hard links only (and to avoid dir
recursion). Other questions: EPFL does not send owner, group and mode (how to
detect an executable?). I will try to implement it like specified in:
http://bgp.potaroo.net/ietf/all-ids/draft-bernstein-eplf-02.txt
I found only two EPFL server sites: ftp://cr.yp.to/ and ftp://ftp.ohse.de/
Jürgen
More information about the kfm-devel
mailing list