Hello,
I have a page where i can upload binary file (using the HTML input
type=file approach). This works fine for relatively small files
(<6MB)) but when files get bigger (13MB) there is a problem.
The code of the php file is based upon the article in
http://www.onlamp.com/pub/a/php/2000...hp_mysql.html: uploading
large binary files using more than one table and more trhan 1 row per
file.
When I want to upload something of -say- 13MB the problems are:
1 takes ages to upload (slow connection? it's on my LAN),
2 after a while I get a error msg:
"Warning: stat failed for none (errno=2 - No such file or directory)
in /Users/marc/Sites/wwwweb/FTP/FileTransfer.php on line 91"
Lines 90 and 91 are below:
90 clearstatcache();
91 $time = filemtime($SrcPathFile);
(does this mean the tmp file is not there???)
I changed 4 variables in php.ini to accomodate the bigger file size:
max_execution_time=120
post_max_size=65M
upload_max_filesize=65M
memory_limit =65M
I changed the rights on the tmp file upload directory so that everyone
can write to it just to be sure...
Still I get the error.
Why am I not able to upload those big files?
Why does it take so long for the file to upload to the server? It
happens all on my LAN (no proxies enabled) so it should be faster....
even dloading a file from the internet is faster than this.
Can anyone point out what's wrong here?
Thanks,
Marc