in reply to Re: Difficulties in copying directories from one network drive to another.
in thread Difficulties in copying directories from one network drive to another.

I gave it a try...still no go. I then tried to copy a file with it and not a directory...no good either. If I use:
sub copyFile { my $source=shift(@_); my $dest=shift(@_); my $moo=1; open(FA,$source); open(F,">$dest"); binmode(F); binmode(FA); while(($moo=read(FA,$buff,4096))>0){ print F $buff; } close(FA);close(F); }

Taken from CopyDocs, I can copy a file no prob from one network computer to the other. But I need to transfer a directory. Hmmm...I may have to breakdown and write a subroutine that uses the above recursively and create the directories.

Cameron
  • Comment on Re^2: Difficulties in copying directories from one network drive to another.
  • Download Code