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
This commit is contained in:
irc-html 2002-01-16 16:44:59 +00:00
parent dbb5ec4b37
commit 1c255dec53

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.36 $ -->
<!-- $Revision: 1.37 $ -->
<reference id="ref.ftp">
<title>FTP functions</title>
<titleabbrev>FTP</titleabbrev>
@ -477,9 +477,10 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII);
</funcprototype>
</funcsynopsis>
<para>
<function>ftp_size</function> returns the size of a file. If an
<function>ftp_size</function> 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.</para>
all servers support this feature.
</para>
<para>
Returns the file size on success, or -1 on error.
</para>