October 3, 2011

ahmed kato ahmed kato
Lab Rat
72 posts

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

 Signature 

Ahmed Kato
Computer & communications student
Intern and MSP at Microsoft

5 replies

October 3, 2011

LiamMaru LiamMaru
Lab Rat
63 posts

Use QFile [doc.qt.nokia.com], and use the copy [doc.qt.nokia.com] method.

October 3, 2011

Alicemirror Alicemirror
Lab Rat
825 posts

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…

 Signature 

Enrico Miglino (aka Alicemirror)
Tech Consulting
Islas Baleares, Ibiza (Spain)
http://www.contesti.eu

October 3, 2011

LiamMaru LiamMaru
Lab Rat
63 posts
Alicemirror wrote:
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…

Good question. I took his statement to mean ‘without using primitive read/write operations’.

October 3, 2011

Alicemirror Alicemirror
Lab Rat
825 posts

@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.

 Signature 

Enrico Miglino (aka Alicemirror)
Tech Consulting
Islas Baleares, Ibiza (Spain)
http://www.contesti.eu

October 3, 2011

ahmed kato ahmed kato
Lab Rat
72 posts

@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

 Signature 

Ahmed Kato
Computer & communications student
Intern and MSP at Microsoft

 
  ‹‹ Maximize/FullScreen Windows TaskbarMenu Messages      To select multiple files and dirs using the same QFileDialog. ››

You must log in to post a reply. Not a member yet? Register here!