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

            Bug ID: 495993
           Summary: kioclient cp interprets target file name as HTTP URL
    Classification: Plasma
           Product: kde-cli-tools
           Version: 6.2.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: aleix...@kde.org
          Reporter: groszdaniel...@gmail.com
  Target Milestone: ---

SUMMARY
If a file name (that doesn't currently exist) is specified without any slashes
as the destination of a copy or move command, kioclient tries and fails to
upload the source file to a HTTP URL instead of interpreting it as a relative
path in the current directory, as likely expected.

STEPS TO REPRODUCE
1. touch a
2. (make sure no file named b exists in the current directory)
3. kioclient copy a b

OBSERVED RESULT
kioclient: An unexpected error (0) occurred while attempting to upload
http://b.

EXPECTED RESULT
Equivalent to cp a b.

Of course there's little point in using kioclient to copy local files, but the
same happens if the source is a URL.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241105
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.5-1-default (64-bit)
Graphics Platform: X11

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to