dreamer
10th May 2008, 21:29
HI.
I have to copy a file, from a directory to another(changing the name).
I use the static function
QFile::copy(source,dest)
...but, often, it doesn't make the copy(it makes the copy very late). I also remove the dest file, if one with that name exists and use the flush() function to write the buffered data.
How can i obtain a fast written on the filesystem???
I use linux with ext3.
I have to copy a file, from a directory to another(changing the name).
I use the static function
QFile::copy(source,dest)
...but, often, it doesn't make the copy(it makes the copy very late). I also remove the dest file, if one with that name exists and use the flush() function to write the buffered data.
How can i obtain a fast written on the filesystem???
I use linux with ext3.