From b7542d784853e4ab9a041d1d8c41345f5ad45c13 Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Tue, 17 Jul 2001 16:03:35 +0000 Subject: [PATCH] Added details about directories on file_rename. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@51655 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/ftp.xml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/functions/ftp.xml b/functions/ftp.xml index d26a340e79..ee9f2eb452 100644 --- a/functions/ftp.xml +++ b/functions/ftp.xml @@ -469,18 +469,19 @@ $upload = ftp_put ($conn_id, "$destination_file", "$source_file", FTP_ASCII); Description - int ftp_rename - int ftp_stream + boolean ftp_rename + resource ftp_stream string from string to - Returns &true; on success, &false; on error. + Returns &true; on success, &false; on error. + - ftp_rename renames the file specified - by from to the new name - to + ftp_rename renames the file or directory + currently named from to the new name + to, on the FTP stream ftp_stream.