deepa.selvaraj
25th October 2007, 06:34
hi
when i was trying to copy files from source directory to destination directory by using below code only file name only copying but file content is not copying.i dont know how to copy content also inside the file.
if(!QFile::copy(m_strSourceDirectory+fileFind[tempVar],m_strDestDirectory+fileFind[tempVar]))
{
bAllCopied = false;
}
when i was trying to copy files from source directory to destination directory by using below code only file name only copying but file content is not copying.i dont know how to copy content also inside the file.
if(!QFile::copy(m_strSourceDirectory+fileFind[tempVar],m_strDestDirectory+fileFind[tempVar]))
{
bAllCopied = false;
}