I like to copy a file from server1 to server2.
Codesnippet:

use File::Copy;
$localpath = "d:/test";
$uncpath = "//server2/d/test";
copy ("$localpath/test.txt","$uncpath/test_cp.txt");

If i execute the script from the comandline it works well.
If i execute the script from a browser no file is copied,
allthough i log on with the admin account on the local
server.

Has anyone an idea why this happens and how to resolve
the problem?

Best regards

Michael

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to