mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
73e92191f8
commit
b7542d7848
1 changed files with 7 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue