8 Replies - 3309 Views - Last Post: 03 February 2012 - 11:37 AM Rate Topic: -----

#1 sela007  Icon User is offline

  • D.I.C Addict

Reputation: 139
  • View blog
  • Posts: 841
  • Joined: 21-December 11

copying multiple files at the same time

Posted 29 December 2011 - 02:05 PM

HELLO! is there any way to copy multiple files at the same time WITH PROGRESS BAR like in windows explorer?
I am using system FileIO.FileSystem.CopyFile for copying single file, but I want to do this with more then one file. thanks!
Is This A Good Question/Topic? 0
  • +

Replies To: copying multiple files at the same time

#2 AdamSpeight2008  Icon User is offline

  • MrCupOfT
  • member icon

Reputation: 2298
  • View blog
  • Posts: 9,535
  • Joined: 29-May 08

Re: copying multiple files at the same time

Posted 29 December 2011 - 02:28 PM

View Postsela007, on 29 December 2011 - 10:05 PM, said:

Is there any way to copy multiple files at the same time WITH PROGRESS BAR like in windows explorer?


Yes
Was This Post Helpful? 0
  • +
  • -

#3 sela007  Icon User is offline

  • D.I.C Addict

Reputation: 139
  • View blog
  • Posts: 841
  • Joined: 21-December 11

Re: copying multiple files at the same time

Posted 29 December 2011 - 04:51 PM

View PostAdamSpeight2008, on 29 December 2011 - 02:28 PM, said:

View Postsela007, on 29 December 2011 - 10:05 PM, said:

Is there any way to copy multiple files at the same time WITH PROGRESS BAR like in windows explorer?


Yes


are you sure? i mean using only .net library
Was This Post Helpful? 0
  • +
  • -

#4 faraoman  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 16-January 12

Re: copying multiple files at the same time

Posted 16 January 2012 - 12:45 PM

use Net.WebClient
Was This Post Helpful? 0
  • +
  • -

#5 DimitriV  Icon User is offline

  • vexing conundrum
  • member icon

Reputation: 587
  • View blog
  • Posts: 2,746
  • Joined: 24-July 11

Re: copying multiple files at the same time

Posted 16 January 2012 - 01:20 PM

Mate, we're talking Local Files not Internet!
Was This Post Helpful? 0
  • +
  • -

#6 faraoman  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 16-January 12

Re: copying multiple files at the same time

Posted 16 January 2012 - 01:29 PM

I know ... if you use DownloadFileAsync you can copy files from one folder to another by being able to view the status of the copy in a progressbar

control classes inside before speaking ill
Was This Post Helpful? 0
  • +
  • -

#7 trevster344  Icon User is offline

  • The Peasant
  • member icon

Reputation: 225
  • View blog
  • Posts: 1,526
  • Joined: 16-March 11

Re: copying multiple files at the same time

Posted 16 January 2012 - 11:38 PM

View Postfaraoman, on 16 January 2012 - 02:29 PM, said:

I know ... if you use DownloadFileAsync you can copy files from one folder to another by being able to view the status of the copy in a progressbar

control classes inside before speaking ill


I strongly suggest you choose a simpler method. Grab every file you want and place them into an array and run through the list with a for each statement using the same copy method. Add yourself a progressbar via code or designer, and modify the maximum value of the bar based on the amount of files(or however you want it) and use the progress bars increment method. Much simpler than it's being made out to be.
Was This Post Helpful? 1
  • +
  • -

#8 sela007  Icon User is offline

  • D.I.C Addict

Reputation: 139
  • View blog
  • Posts: 841
  • Joined: 21-December 11

Re: copying multiple files at the same time

Posted 03 February 2012 - 10:59 AM

View Posttrevster344, on 16 January 2012 - 11:38 PM, said:

View Postfaraoman, on 16 January 2012 - 02:29 PM, said:

I know ... if you use DownloadFileAsync you can copy files from one folder to another by being able to view the status of the copy in a progressbar

control classes inside before speaking ill


I strongly suggest you choose a simpler method. Grab every file you want and place them into an array and run through the list with a for each statement using the same copy method. Add yourself a progressbar via code or designer, and modify the maximum value of the bar based on the amount of files(or however you want it) and use the progress bars increment method. Much simpler than it's being made out to be.

I can do this but, that's not what I am looking for. I was interesting, is there something like FileIO.FileSystem.CopyFile's instead of FileIO.FileSystem.CopyFile. Only way is , to copy files by chunk with your own method. I've done this, but it's much slower then FileIO.FileSystem.CopyFile
Was This Post Helpful? 0
  • +
  • -

#9 trevster344  Icon User is offline

  • The Peasant
  • member icon

Reputation: 225
  • View blog
  • Posts: 1,526
  • Joined: 16-March 11

Re: copying multiple files at the same time

Posted 03 February 2012 - 11:37 AM

Nope there is not but creating such a method is exactly what I described, other than that you're only gonna make it harder with other methods.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1