I am trying to copy a file from one directory into another during the add record process and I'm having difficulties with syntax.
My code is cp("$main_path$file_name" $new_path$file_name);
Am I missing something? I continue to get permission error though the file and directory are 777????
My code is cp("$main_path$file_name" $new_path$file_name);
Am I missing something? I continue to get permission error though the file and directory are 777????

