pollita Sun Sep 14 20:41:59 2003 EDT
Modified files:
/phpdoc/en/reference/ftp/functions ftp-nb-continue.xml
ftp-nb-fget.xml ftp-nb-fput.xml
ftp-nb-get.xml ftp-nb-put.xml
Log:
Correct return values.
Index: phpdoc/en/reference/ftp/functions/ftp-nb-continue.xml
diff -u phpdoc/en/reference/ftp/functions/ftp-nb-continue.xml:1.3
phpdoc/en/reference/ftp/functions/ftp-nb-continue.xml:1.4
--- phpdoc/en/reference/ftp/functions/ftp-nb-continue.xml:1.3 Sun Jun 29 11:05:37
2003
+++ phpdoc/en/reference/ftp/functions/ftp-nb-continue.xml Sun Sep 14 20:41:58
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.ftp-nb-continue">
<refnamediv>
<refname>ftp_nb_continue</refname>
@@ -8,7 +8,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>bool</type><methodname>ftp_nb_continue</methodname>
+ <type>int</type><methodname>ftp_nb_continue</methodname>
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
</methodsynopsis>
<para>
Index: phpdoc/en/reference/ftp/functions/ftp-nb-fget.xml
diff -u phpdoc/en/reference/ftp/functions/ftp-nb-fget.xml:1.5
phpdoc/en/reference/ftp/functions/ftp-nb-fget.xml:1.6
--- phpdoc/en/reference/ftp/functions/ftp-nb-fget.xml:1.5 Sun Jun 29 11:05:37
2003
+++ phpdoc/en/reference/ftp/functions/ftp-nb-fget.xml Sun Sep 14 20:41:59 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="function.ftp-nb-fget">
<refnamediv>
<refname>ftp_nb_fget</refname>
@@ -8,7 +8,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>bool</type><methodname>ftp_nb_fget</methodname>
+ <type>int</type><methodname>ftp_nb_fget</methodname>
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
<methodparam><type>string</type><parameter>remote_file</parameter></methodparam>
@@ -26,7 +26,8 @@
file is being downloaded.
</para>
<para>
- &return.success;
+ Returns <constant>FTP_FAILED</constant>, <constant>FTP_FINISHED</constant>, or
+ <constant>FTP_MOREDATA</constant>.
</para>
<para>
See also <function>ftp_nb_get</function>,
Index: phpdoc/en/reference/ftp/functions/ftp-nb-fput.xml
diff -u phpdoc/en/reference/ftp/functions/ftp-nb-fput.xml:1.6
phpdoc/en/reference/ftp/functions/ftp-nb-fput.xml:1.7
--- phpdoc/en/reference/ftp/functions/ftp-nb-fput.xml:1.6 Sun Jun 29 09:37:24
2003
+++ phpdoc/en/reference/ftp/functions/ftp-nb-fput.xml Sun Sep 14 20:41:59 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<refentry id="function.ftp-nb-fput">
<refnamediv>
<refname>ftp_nb_fput</refname>
@@ -8,7 +8,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>bool</type><methodname>ftp_nb_fput</methodname>
+ <type>int</type><methodname>ftp_nb_fput</methodname>
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>remote_file</parameter></methodparam>
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
@@ -26,7 +26,8 @@
perform other operations while the file is being uploaded.
</para>
<para>
- &return.success;
+ Returns <constant>FTP_FAILED</constant>, <constant>FTP_FINISHED</constant>, or
+ <constant>FTP_MOREDATA</constant>.
</para>
<para>
See also <function>ftp_nb_put</function>,
Index: phpdoc/en/reference/ftp/functions/ftp-nb-get.xml
diff -u phpdoc/en/reference/ftp/functions/ftp-nb-get.xml:1.5
phpdoc/en/reference/ftp/functions/ftp-nb-get.xml:1.6
--- phpdoc/en/reference/ftp/functions/ftp-nb-get.xml:1.5 Tue Jul 1 02:48:57
2003
+++ phpdoc/en/reference/ftp/functions/ftp-nb-get.xml Sun Sep 14 20:41:59 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="function.ftp-nb-get">
<refnamediv>
<refname>ftp_nb_get</refname>
@@ -8,7 +8,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>bool</type><methodname>ftp_nb_get</methodname>
+ <type>int</type><methodname>ftp_nb_get</methodname>
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>local_file</parameter></methodparam>
<methodparam><type>string</type><parameter>remote_file</parameter></methodparam>
@@ -26,7 +26,8 @@
file is being downloaded.
</para>
<para>
- &return.success;
+ Returns <constant>FTP_FAILED</constant>, <constant>FTP_FINISHED</constant>, or
+ <constant>FTP_MOREDATA</constant>.
</para>
<para>
<example>
Index: phpdoc/en/reference/ftp/functions/ftp-nb-put.xml
diff -u phpdoc/en/reference/ftp/functions/ftp-nb-put.xml:1.5
phpdoc/en/reference/ftp/functions/ftp-nb-put.xml:1.6
--- phpdoc/en/reference/ftp/functions/ftp-nb-put.xml:1.5 Tue Jul 1 02:48:57
2003
+++ phpdoc/en/reference/ftp/functions/ftp-nb-put.xml Sun Sep 14 20:41:59 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="function.ftp-nb-put">
<refnamediv>
<refname>ftp_nb_put</refname>
@@ -8,7 +8,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>bool</type><methodname>ftp_nb_put</methodname>
+ <type>int</type><methodname>ftp_nb_put</methodname>
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>remote_file</parameter></methodparam>
<methodparam><type>string</type><parameter>local_file</parameter></methodparam>
@@ -25,7 +25,8 @@
perform other operations while the file is being uploaded.
</para>
<para>
- &return.success;
+ Returns <constant>FTP_FAILED</constant>, <constant>FTP_FINISHED</constant>, or
+ <constant>FTP_MOREDATA</constant>.
</para>
<para>
<example>