arajani has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to copy files between two systems (both win 2000). One is server and another is normal system. The target system has a shared directory which has full permissions to move the files to. I am using the following chunk of code.
system("copy ..\text.html \\system1\shareddir");
I am in the server so I can access any file. In the above the system1 is the system to which I intend to copy. If I invoke the copy command from the command line I able to copy successfully, but if I want to run the above system command through my cgi/perl script its failing. Also in server I can copy to different directories so I assume the problem is not at the server. The error msg isAccess is denied. 0 file(s) copied.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Copying files between two systems using cgi/perl
by thunders (Priest) on May 13, 2002 at 17:38 UTC | |
by Mr. Muskrat (Canon) on May 13, 2002 at 18:36 UTC | |
|
Re: Copying files between two systems using cgi/perl
by arajani (Novice) on May 13, 2002 at 18:29 UTC | |
by thunders (Priest) on May 13, 2002 at 20:34 UTC | |
|
Re: Copying files between two systems using cgi/perl
by particle (Vicar) on May 13, 2002 at 17:23 UTC | |
|
Re: Copying files between two systems using cgi/perl
by tjh (Curate) on May 13, 2002 at 17:15 UTC | |
by jreades (Friar) on May 13, 2002 at 17:39 UTC |