note 78453 deleted from function.move-uploaded-file by nlopess
| From: | nlopess@php.net | Date: | Fri, 12 Oct 2007 15:48:18 +0000 |
| Subject: | note 78453 deleted from function.move-uploaded-file by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-131346@lists.php.net to get a copy of this message | ||
Note Submitter: fabric9 at gmail dot com
----
Hey guys. I've run into a brick wall here. It appears as if the file I'm uploading
don't stick around in the tmp directory long enough to be moved. These are some samples of the
errors I get (with some censoring);
Warning: move_uploaded_file(C:/www/bifogat/xxxxxxxxxx_elit-meriter_1.txt)
[function.move-uploaded-file]: failed to open stream: No such file or directory in
C:\www\ansokningar\action_elit.php on line 129
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move
'C:\www\ansokningar\tmp_upload\php14E.tmp' to
'C:/www/bifogat/8111218932_elit-meriter_1.txt' in C:\www\ansokningar\action_elit.php on
line 129
But when I pick an extra large file and try to upload, then check the server, I can see the tmp file
forming. Once it completes, it's removed though, without being moved to the proper directory.
Any ideas? As is obvious by the above I've tried to change the tmp directory, didn't help.