Hi all, I have cgi.pl file in internet server. I would like to copy a log file(read only file) in J:\ (which I map it to the other server) to my d:\temp folder. With the following code, I got "can't open input : Permission denied" message when I open th cgi.pl file thru IE browser. How could I get Permission? Thanks.
Angela $output_file_name="d:\\temp\\copy_log.txt"; $input_file_name = "j:\\status.log"; open (COPY_FILE, ">$output_file_name") || die ("can't open output:$!");; open (FILE, "<$input_file_name") || die ("can't open input:$!"); while (<FILE>) { print COPY_FILE $_; } close (FILE); close (COPY_FILE); -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]