https://bugzilla.novell.com/show_bug.cgi?id=413949 User SchwartzkopffD@Alte-Leipziger.de added comment https://bugzilla.novell.com/show_bug.cgi?id=413949#c399296 Summary: Renaming in FTP overwrites existing files without confirmation Product: openSUSE 11.0 Version: Final Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: KDE3 AssignedTo: kde-maintainers@suse.de ReportedBy: SchwartzkopffD@Alte-Leipziger.de QAContact: qa@suse.de CC: wstephenson@novell.com Depends on: 399296 Found By: --- +++ This bug was initially created as a clone of Bug #399296 +++ Details see: http://bugs.kde.org/show_bug.cgi?id=127793 My own fix doesn't solve this issue on all servers: I am using z/OS 1.8 (IBM mainframe) with default configuration. If I try to rename a file to an existing one the following conversation happens: Request: SIZE /home/user/x Response: 501 command aborted -- FTP server not configured for SIZE Request: cwd /home/user/x Response: 550 CWD cmd failed : EDC5135I Not a directory. (errno2=0x0519004F) Request: RNFR x_1 Response: 350 RNFR accepted. Please supply new name for RNTO. Request: RNTO /home/user/x Response: 250 /home/user/x_1 renamed to /home/user/x I changed the source of ftp.cc to fix this: bool Ftp::ftpFileExists(const QString& path) { QCString buf; buf = "RNFR "; buf += remoteEncoding()->encode(path); if( !ftpSendCmd( buf ) || (m_iRespCode != 350) ) return false; // skip leading "550 " (response code) const char* psz = ftpResponse(4); return psz != 0; } I don't add a patch because I don't know where to download the source of the fixed version of bug 399296. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.