On Friday 08 April 2005 09:44, Christoph Cullmann wrote: > > > >> + // first del existing file if any, than copy over the file we > >> have + // failure if a: the existing file could not be deleted, b: > >> the file > >> + could not be copied > >> + if ( (!KIO::NetAccess::exists( u, false, kapp->mainWidget() ) || > >> + KIO::NetAccess::del( u, kapp->mainWidget() )) > >> + && KIO::NetAccess::file_copy( url(), u, perms, true, false, > >> + kapp->mainWidget() ) ) > > > > This is a *file copy*, where src and dst are the *same*. My only > > explanation > > is that KIO tries to authenticate two times, which always fails. > > ? 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 ;) -- Dominik