[okular] [Bug 339807] Save in FTP Folder reports existing File although there isn't

2020-11-26 Thread Justin Zobel
https://bugs.kde.org/show_bug.cgi?id=339807

Justin Zobel  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED
 CC||justin.zo...@gmail.com
Version|0.20.0  |20.11.80

--- Comment #4 from Justin Zobel  ---
(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.

[okular] [Bug 339807] Save in FTP Folder reports existing File although there isn't

2018-11-20 Thread Andrew Crouthamel
https://bugs.kde.org/show_bug.cgi?id=339807

Andrew Crouthamel  changed:

   What|Removed |Added

 Status|NEEDSINFO   |REPORTED
 Resolution|WAITINGFORINFO  |---

--- Comment #3 from Andrew Crouthamel  ---
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you
help us out and re-test if the bug is valid in the latest version? This bug
will be moved back to REPORTED Status for manual review later, which may take a
while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 339807] Save in FTP Folder reports existing File although there isn't

2018-11-11 Thread Andrew Crouthamel
https://bugs.kde.org/show_bug.cgi?id=339807

Andrew Crouthamel  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #2 from Andrew Crouthamel  ---
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test
if the bug is valid in the latest version? I am setting the status to NEEDSINFO
pending your response, please change the Status back to REPORTED when you
respond.

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Okular-devel] [okular] [Bug 339807] Save in FTP Folder reports existing File although there isn't

2014-10-09 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=339807

Albert Astals Cid aa...@kde.org changed:

   What|Removed |Added

 CC||aa...@kde.org,
   ||fa...@kde.org

--- Comment #1 from Albert Astals Cid aa...@kde.org ---
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 );

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel