Clarify writing to ftp URLs.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@77608 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Wez Furlong 2002-04-10 23:32:34 +00:00
parent eb261b8e0d
commit 888a20b356

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.141 $ -->
<!-- $Revision: 1.142 $ -->
<reference id="ref.filesystem">
<title>Filesystem functions</title>
<titleabbrev>Filesystem</titleabbrev>
@ -235,7 +235,7 @@ if (!copy($file, $file.'.bak')) {
<para>
As of PHP 4.3.0, both <parameter>source</parameter> and
<parameter>dest</parameter> may be URLs if the "fopen wrappers"
have been enable. See <function>fopen</function> for more details.
have been enabled. See <function>fopen</function> for more details.
</para>
</note>
<warning>
@ -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
<function>ftp_connect</function>.
</simpara>
<simpara>
If <parameter>filename</parameter> is one of "php://stdin",