Svyatoslav777
Programmer
- Oct 20, 2010
- 2
Hello
I got a problem of a big time delay while copying a large file onto my web server via php script. I mean the process appears to run very slowly, about minute or even two.
Here is the code:
---------------------
<?PHP
if (copy('file1', 'file2'))
{ echo "ALL ITS OK"; }
else
{ echo "Error!!!"; }
-------------------------
My system config is:
file1 has size 700mb
?>
------------------------
Can anybody please tell me what could be the reason for such a big time delay while completing such a simple function as copy()?
Thanks in advance!)
I got a problem of a big time delay while copying a large file onto my web server via php script. I mean the process appears to run very slowly, about minute or even two.
Here is the code:
---------------------
<?PHP
if (copy('file1', 'file2'))
{ echo "ALL ITS OK"; }
else
{ echo "Error!!!"; }
-------------------------
My system config is:
file1 has size 700mb
?>
------------------------
Can anybody please tell me what could be the reason for such a big time delay while completing such a simple function as copy()?
Thanks in advance!)