perldoc file::copy

>>> <[EMAIL PROTECTED]> 07/02/02 08:40am >>>
I've got a script that parses out a mail file into an array then uses 
the print command to copy the array to another location. Effectively
I'm 
just copying one file from its original location to another location, 
I'm using a cgi script to do this in, how can I call a "cp" command
from 
within a cgi script? I'm thinking of doing something like:

sh "cp filename1.txt /new/path/filename2.txt";

Would this be enough, or do I have to require another .pl script from 
Perl? Totally lost here, so any help would be appreciated.

His Faithful Servant,
Mark


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



ITM Business Solutions
Unit 4
Nine Trees Trading Estate
Morthen Road
Rotherham
S66 9JG

Reception
Tel: 01709 703288
Fax: 01709 701549

Help Desk
Tel:01709 530424
Fax: 01709 702159

CONFIDENTIALITY NOTICE: This message is intended only for the use of
the individual or entity to which it is addressed, and may contain
information that is privileged, confidential and exempt from disclosure
under applicable law.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to