develooper Front page | perl.beginners | Postings from January 2002

File::Copy limitation? on Win32

Thread Next
From:
Jeffrey Bruce Norville
Date:
January 8, 2002 10:59
Subject:
File::Copy limitation? on Win32
Message ID:
Pine.GSO.3.96.1020108085155.26543D-100000@tiger
I suspect the answer to this is "you can't abuse perl that way on WinNT," 
but I'll post anyhow.

I'm distributing files across several machines on an NT network; for
various reasons I need the status that the File::Copy module returns but
can't rely on mapped drives.

UNCs and IP paths (\\10.98.76.543\d$\usr\exe) don't seem to work with this
module however; only local or mapped drives (which appear local to the
machine) seem to work.

So a regular batch file works fine with a UNC or mapped drive but won't
tell me if there's a copy failure, while perl is feature-rich but requires
code to check for/reestablish a 'local' drive.

Can anybody confirm this and/or suggest a way around this?

Thanks for your patience!

Jeff


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About