From 1c255dec534e31cf987e668e18c6ce9fe4884c05 Mon Sep 17 00:00:00 2001 From: irc-html Date: Wed, 16 Jan 2002 16:44:59 +0000 Subject: [PATCH] incorporated user note; ftp_size returns size in bytes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@67887 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/ftp.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/functions/ftp.xml b/functions/ftp.xml index c74788d457..504371ed86 100644 --- a/functions/ftp.xml +++ b/functions/ftp.xml @@ -1,5 +1,5 @@ - + FTP functions FTP @@ -477,9 +477,10 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII); - ftp_size returns the size of a file. If an + ftp_size returns the size of a file in bytes. If an error occurs, of if the file does not exist, -1 is returned. Not - all servers support this feature. + all servers support this feature. + Returns the file size on success, or -1 on error.