>> + // 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 -- Christoph Cullmann KDE Developer, kde.org Maintainance Team http://www.babylon2k.de, cullmann@kde.org