[frameworks-kio] [Bug 432231] When creating a folder on ftp share every name already exists.

Méven Car bugzilla_noreply at kde.org
Sat Jan 30 09:55:02 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=432231

--- Comment #2 from Méven Car <meven29 at gmail.com> ---
In particular:

```
    if (statSide == QLatin1String("source")) {
        qCDebug(KIO_FTP) << "Not found, but assuming found, because some
servers don't allow listing";
        // MS Server is incapable of handling "list <blah>" in a case
insensitive way
        // But "retr <blah>" works. So lie in stat(), to get going...
        //
        // There's also the case of
ftp://ftp2.3ddownloads.com/90380/linuxgames/loki/patches/ut/ut-patch-436.run
        // where listing permissions are denied, but downloading is still
possible.
        ftpShortStatAnswer(filename, false /*file, not dir*/);

        return Result::pass();
    }
```
https://invent.kde.org/frameworks/kio/-/blob/master/src/ioslaves/ftp/ftp.cpp#L1317

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list