On Friday 08 April 2005 12:16, Christoph Cullmann wrote: > > > >> > ? src and dst are the same? url() and u are not the same, url() is the > >> > concrete url of the file, u is the url with the backup prefix/suffix > >> Yes, but same host, that is why I thought about authentication two times > >> (which is not possible, if the ftp only allows one at a time). But as I > >> said, I may be wrong, and make a fool out of myself ;) > > Right. kio_ftp doesn't support direct ftp-to-ftp copy yet, so the datapump > > must be used (a kio_ftp doing a get and another one doing a put). > any straightforward ideas to fix that with minimal amount of code? Not really. On servers which don't support direct copy (FXP?) and which only support one connection at a time, I think we're screwed anyway (I see no "copy" command in the FTP RFCs). The whole idea of doing proper backups over FTP seems difficult. The only thing I can suggest is "if protocol==ftp, upload the backup file (like in the old code) instead of doing the server-side copy". But this looks ugly in the code of course. -- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).