[okular] [Bug 339807] Save in FTP Folder reports existing File although there isn't
Justin Zobel
bugzilla_noreply at kde.org
Fri Nov 27 01:55:48 GMT 2020
https://bugs.kde.org/show_bug.cgi?id=339807
Justin Zobel <justin.zobel at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|REPORTED |CONFIRMED
CC| |justin.zobel at gmail.com
Version|0.20.0 |20.11.80
--- Comment #4 from Justin Zobel <justin.zobel at gmail.com> ---
(In reply to Albert Astals Cid from comment #1)
> I'm pretty sure that this is a KIO problem, i've talked with David before
> about this and he said that it happens because the ftp ioslave defaults to
> "yes a file exists" when asked if it does because some servers are just
> plain stupid.
>
> I'm CC'ing him in case we do something wrong.
>
> David, what we do is just
> KUrl saveUrl = KFileDialog::getSaveUrl( KUrl("kfiledialog:///okular/" +
> url().fileName()),
> QString(), widget(), QString(),
> KFileDialog::ConfirmOverwrite )
>
> and then
>
> KIO::file_copy( srcUrl, saveUrl, -1, KIO::Overwrite );
This is still occurring in git master of okular, etc.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list