|
-
Aug 15th, 2006, 05:37 AM
#1
Thread Starter
Hyperactive Member
Copying Directories from a network location [2003]
Hi,
I need to create a program to copy a complete directory from "Computer A" to "Computer B".
The program will be run from "Computer A"
I have searched on google for some examples, but I dont know if I'm searching for the wrong information or something, but I cant find anything that helps. I've alos check Planetsourcecode.com to no avail either...
I think I need to use file.copy BUT I'm sure this only copies single files not whole directories.
the folder that will be copied with around 100mb at the moment and will no doubt get bigger, so I need to also add a prograssion bar, as the admin will be able to see that the files are copying. Something like the Windows 'copy file' window, showing a progression bar and the name of the currently copying file.
Many Thanks
-
Aug 15th, 2006, 02:17 PM
#2
Re: Copying Directories from a network location [2003]
No matter how you do it, it comes down to copying the (empty) directory, then copying each file in it (and each subdirectory in it, and the files in the subdirectories, etc.)
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
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
|