Added details about directories on file_rename.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@51655 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2001-07-17 16:03:35 +00:00
parent 73e92191f8
commit b7542d7848

View file

@ -469,18 +469,19 @@ $upload = ftp_put ($conn_id, "$destination_file", "$source_file", FTP_ASCII);
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>ftp_rename</function></funcdef>
<paramdef>int <parameter>ftp_stream</parameter></paramdef>
<funcdef>boolean <function>ftp_rename</function></funcdef>
<paramdef>resource <parameter>ftp_stream</parameter></paramdef>
<paramdef>string <parameter>from</parameter></paramdef>
<paramdef>string <parameter>to</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
Returns &true; on success, &false; on error.</para>
Returns &true; on success, &false; on error.
</para>
<para>
<function>ftp_rename</function> renames the file specified
by <parameter>from</parameter> to the new name
<parameter>to</parameter>
<function>ftp_rename</function> renames the file or directory
currently named <parameter>from</parameter> to the new name
<parameter>to</parameter>, on the FTP stream <parameter>ftp_stream</parameter>.
</para>
</refsect1>
</refentry>