KIO errors (CVS HEAD)

Andras Mantia amantia at kde.org
Tue Jun 15 11:24:21 BST 2004


On Tuesday 15 June 2004 13:16, David Faure wrote:
> On Monday 14 June 2004 17:19, Andras Mantia wrote:
> >  KIO::NetAccess::file_copy(absUrl, tmpURL, -1, true, true, this);
>
> Why do you set resume to true??> This is wrong, if you don't want to 
> resume over an existing file. (Actually the whole application-side
> resuming isn't very well thought out, I suppose). Please use "false"
> there. Then it works.

Sorry, the code I copied was after I was experimenting with the flags. 
Originally I had resume = false. So the bug is visible with resume = 
false as well.

Andras

-- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040615/0c517c28/attachment.sig>


More information about the kde-core-devel mailing list