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.