reference/ftp/functions/ftp-nb-continue.xml
4d1c34c9b7a30cfc3a59641122c707a2812cfed7
...
...
@@ -9,7 +9,7 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>int</type><methodname>ftp_nb_continue</methodname>
12
-
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
12
+
<methodparam><type>FTP\Connection</type><parameter>ftp</parameter></methodparam>
13
13
</methodsynopsis>
14
14
<para>
15
15
Continues retrieving/sending a file non-blocking.
...
...
@@ -20,11 +20,9 @@
20
20
<para>
21
21
<variablelist>
22
22
<varlistentry>
23
-
<term><parameter>ftp_stream</parameter></term>
23
+
<term><parameter>ftp</parameter></term>
24
24
<listitem>
25
-
<para>
26
-
The link identifier of the FTP connection.
27
-
</para>
25
+
&ftp.parameter.ftp;
28
26
</listitem>
29
27
</varlistentry>
30
28
</variablelist>
...
...
@@ -37,6 +35,24 @@
37
35
or <constant>FTP_MOREDATA</constant>.
38
36
</para>
39
37
</refsect1>
38
+

39
+
<refsect1 role="changelog">
40
+
&reftitle.changelog;
41
+
<informaltable>
42
+
<tgroup cols="2">
43
+
<thead>
44
+
<row>
45
+
<entry>&Version;</entry>
46
+
<entry>&Description;</entry>
47
+
</row>
48
+
</thead>
49
+
<tbody>
50
+
&ftp.changelog.ftp-param;
51
+
</tbody>
52
+
</tgroup>
53
+
</informaltable>
54
+
</refsect1>
55
+
40
56
<refsect1 role="examples">
41
57
&reftitle.examples;
42
58
<para>
...
...
@@ -47,11 +63,11 @@
47
63
<?php
48
64

49
65
// Initiate the download
50
-
$ret = ftp_nb_get($my_connection, "test", "README", FTP_BINARY);
66
+
$ret = ftp_nb_get($ftp, "test", "README", FTP_BINARY);
51
67
while ($ret == FTP_MOREDATA) {
52
68

53
69
// Continue downloading...
54
-
$ret = ftp_nb_continue($my_connection);
70
+
$ret = ftp_nb_continue($ftp);
55
71
}
56
72
if ($ret != FTP_FINISHED) {
57
73
echo "There was an error downloading the file...";
...
...
@@ -64,7 +80,6 @@ if ($ret != FTP_FINISHED) {
64
80
</para>
65
81
</refsect1>
66
82
</refentry>
67
-

68
83
<!-- Keep this comment at the end of the file
69
84
Local variables:
70
85
mode: sgml
71
86