New topic: Large File Copy Performance Tips
<http://forums.realsoftware.com/viewtopic.php?t=37358> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message neogenesys Post subject: Large File Copy Performance TipsPosted: Mon Jan 31, 2011 10:36 pm Joined: Tue Apr 17, 2007 12:09 am Posts: 10 Hi, we have to copy large .vhd files (3-6Gb) from one location or usb external drive to another location in the c: drive, while displaying a progress bar or something to show the end user that it is processing. We have found sever al posts recommending to use folderitems and CopyToFile and others suggesting BinaryStreams. In terms of performance for our files, which method would you recommend? Thanks! Top timhare Post subject: Re: Large File Copy Performance TipsPosted: Mon Jan 31, 2011 10:40 pm Joined: Fri Jan 06, 2006 3:21 pm Posts: 9005 Location: Portland, OR USA CopyFileTo doesn't allow you to show progress, so the choice seems clear. Use a BinaryStream in a thread. Yield time often enough to keep your progress indication responsive. Top neogenesys Post subject: Re: Large File Copy Performance TipsPosted: Mon Jan 31, 2011 10:51 pm Joined: Tue Apr 17, 2007 12:09 am Posts: 10 Thanks for the tip. When you mention about the Yield Time Often, exactly what are you referring to? Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
