From 888a20b3568f2b839c3ad5483cd3b7b8a76fee8d Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 10 Apr 2002 23:32:34 +0000 Subject: [PATCH] Clarify writing to ftp URLs. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@77608 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/filesystem.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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",