Is there a way to get the status how long does it takes to copy the file.
With the php rename function.
rename($old_dest, $new_dest);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When you rename a file, you have to distinguish two scenarios:
In either case, the speed will depend on, in roughly descending order:
If you want to get specific numbers, just try it. You can measure the time it took with
getrusage.