|
-
Mar 5th, 2013, 03:38 AM
#1
Thread Starter
Addicted Member
copy multiple files + folders with progress
I've been searching on this forum for this, and with partial succes.
I'm busy on a explorer.exe clone witch supports drag and drop of files ect. I want to handle the copy,move, detele operations in a seperate thread(background worker) with a progress dialog using file.copy.
All is working file, except one thing:
-when coping 300 files of 5 MB's, I can calculate MB/s, remaining time etc.
-when coping one file op 3 GB's, I can't calculate speed and progress
I've found you can also use: My.Computer.FileSystem.CopyDirectory( sourcePath, destinationPath, UIOption.AllDialogs) which uses a build in progress dialog.
Using My.Computer.FileSystem.CopyDirectory( sourcePath, destinationPath, UIOption.AllDialogs), you can only specify ONE file or ONE directory. This is a problem because you won't get an update on the total progress, which can be a operation of several files and several sub folders.
So the question can you somehow use: My.Computer.FileSystem.CopyDirectory using multiple files/folders.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|