mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
fixed errors, makeable now
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@66745 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
b2ba950be7
commit
4c90180fba
1 changed files with 13 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.32 $ -->
|
||||
<!-- $Revision: 1.33 $ -->
|
||||
<reference id="ref.ftp">
|
||||
<title>FTP functions</title>
|
||||
<titleabbrev>FTP</titleabbrev>
|
||||
|
@ -73,8 +73,12 @@ ftp_quit($conn_id);
|
|||
<funcprototype>
|
||||
<funcdef>resource <function>ftp_connect</function></funcdef>
|
||||
<paramdef>string <parameter>host</parameter></paramdef>
|
||||
<paramdef>int <parameter><optional>port</optional></paramdef></paramdef>
|
||||
<paramdef>int <parameter><optional>timeout</optional></parameter></paramdef>
|
||||
<paramdef>int
|
||||
<parameter><optional>port</optional></parameter>
|
||||
</paramdef>
|
||||
<paramdef>int
|
||||
<parameter><optional>timeout</optional></parameter>
|
||||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
|
@ -670,7 +674,7 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII);
|
|||
<tgroup cols="2">
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><member>FTP_TIMEOUT_SEC</member></entry>
|
||||
<entry>FTP_TIMEOUT_SEC</entry>
|
||||
<entry>Changes the timeout in seconds used for all network related
|
||||
functions. Parameter <parameter>value</parameter> has be to of type
|
||||
int and must be greater than 0. The default timeout is 90
|
||||
|
@ -688,7 +692,8 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII);
|
|||
// Set the network timeout down to 10 seconds
|
||||
ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10);
|
||||
]]>
|
||||
</programlistuing>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
@ -728,7 +733,7 @@ ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10);
|
|||
<tgroup cols="2">
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><member>FTP_TIMEOUT_SEC</member></entry>
|
||||
<entry>FTP_TIMEOUT_SEC</entry>
|
||||
<entry>Returns the current timeout used for network related
|
||||
operations.</entry>
|
||||
</row>
|
||||
|
@ -744,7 +749,8 @@ ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10);
|
|||
// Get the timeout of the given FTP stream
|
||||
$timeout = ftp_get_option($conn_id, FTP_TIMEOUT_SEC);
|
||||
]]>
|
||||
</programlistuing>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue