diff --git a/functions/filesystem.xml b/functions/filesystem.xml index 23e847db38..5564e5c16b 100644 --- a/functions/filesystem.xml +++ b/functions/filesystem.xml @@ -1,5 +1,5 @@ - + Filesystem functions Filesystem @@ -235,7 +235,7 @@ if (!copy($file, $file.'.bak')) { As of PHP 4.3.0, both source and dest may be URLs if the "fopen wrappers" - have been enable. See fopen for more details. + have been enabled. See fopen for more details. @@ -1322,7 +1322,10 @@ $fcontents = implode ('', file ('http://www.example.com/')); and a pointer to the requested file is returned. If the server does not support passive mode ftp, this will fail. You can open files for either reading or writing via ftp (but not both - simultaneously). + simultaneously). If the remote file already exists on the ftp + server and you attempt to open it for writing, this will fail. + If you need to update existing files over ftp, use + ftp_connect. If filename is one of "php://stdin",