FYI, in my experience with Windows, "No such file or directory", or "Permission denied" don't necessarily mean what they say.
At 08:57 AM 5/10/2007, Dennis Daupert wrote: >Hello list, > >The copy command is failing, error says: > >Copy failed: No such file or directory at D:\Perl\get_files\get_files.pl >line 178, <STDIN> line 9 > ># = = = = get_files.pl = = = = = >line 177: if ( -e $from ) { >line 178: copy("$from","$to") or die "Copy failed: $!"; >line 179: $count++; >line 180: } else { >line 181: print "NOT FOUND: $from\n"; >line 182: } > >My theory is get_files.pl is having a problem copying across windows >drives. >The sys admin who reported this error said the files she's trying to copy >to >the D drive are "on the H drive using Vertias clustering on SAN" > >So I have these questions: >Am I barking up the right tree, or do I need to bark up another? >How do I solve this, if the problem IS copying across drives? >If the file test operator (-e) sees the files, why doesn't copy? > > >best, > > /dennis > >------------------------------------------------ >Phone: 317.298.6049 >------------------------------------------------ >Methods for predicting the future: >1) read horoscopes, tea leaves, tarot cards, or crystal balls . . . >collectively known as "nutty methods;" >2) put well-researched facts into sophisticated computer . . . >commonly referred to as "a complete waste of time." > > Scott AAdams > > >-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > >This is a PRIVATE message. If you are not the intended recipient, please >delete without copying and kindly advise us by e-mail of the mistake in >delivery. NOTE: Regardless of content, this e-mail shall not operate to >bind CSC to any order or other contract unless pursuant to explicit written >agreement or government initiative expressly permitting the use of e-mail >for such purpose. >-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- >_______________________________________________ >Perl-Win32-Users mailing list >Perl-Win32-Users@listserv.ActiveState.com To >unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > >Scanned for Spam and Viruses. >PCG Information Technology Services. _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs