Re: File locking problem
| From: | Ernest E Vogelsinger | Date: | Fri, 08 Nov 2002 15:56:21 +0000 |
| Subject: | Re: File locking problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123400@lists.php.net to get a copy of this message | ||
At 16:50 08.11.2002, Charles Wiltgen spoke out and said:
--------------------[snip]--------------------
>I tried require() too, but it made no difference. I later learned that if
>you fopen(), write some stuff, fflush() and ffclose(), that doesn't mean the
>file is complete (or that it even exists).
>
>This has to be a PHP bug, which I'd be happy to file if someone more
>experienced could confirm that it isn't stupid user error.
--------------------[snip]--------------------
I don't believe it has something to do with PHP, much more with the FTP
server you're accessing... This might delay the actual flushing for what
reason ever. I don't believe PHP buffers files differently if they are
accessed using an fopen url wrapper.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/