Saving files to remote locations atomically in KDE 3.5

Clarence Dang dang at kde.org
Sun May 6 12:45:42 BST 2007


Hi,

I've been fixing KolourPaint in KDE 3.5 to do atomic saves.

For local files, I now use KSaveFile.

For remote files, I KIO::NetAccess::upload() the temporary local file to the 
remote location.  However, I know this is not atomic at least with fish://.  
Is there some sort of KSaveRemoteFile?  Why do other applications do?

Thanks,
Clarence




More information about the kde-core-devel mailing list