Copy and pasting files
-
i need to know how to make a program that copy and paste huge files like games and films...without open and read the write :D
howa to windows call or somthin to copy files from driver D to E ...thx -
Use "QFile":http://doc.qt.nokia.com/latest/qfile.html, and use the "copy":http://doc.qt.nokia.com/latest/qfile.html#copy method.
-
Sorry, but how do you think is possible to copy files without opening them and moving clusters from a drive to another? Coping implies data duplication...
-
[quote author="Alicemirror" date="1317625090"]Sorry, but how do you think is possible to copy files without opening them and moving clusters from a drive to another? Coping implies data duplication...[/quote]
Good question. I took his statement to mean 'without using primitive read/write operations'.
-
@LiamMaru: well, so your suggestion is correct.
It is important that Qt (Dir, File, copy etc) will be used because this is the right way to have a homogeneous environment and a portable code.
-
@LiamMaru thx for your answer that's what i was looking for...i know i can open the file and readall then write them in new file but if the file is a 1GB size...it won't be nice :D