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