mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Eleminated some bugs here.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@31739 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
aef72026ec
commit
2eae75c39c
1 changed files with 10 additions and 6 deletions
|
@ -45,6 +45,7 @@ ftp_quit($conn_id);
|
|||
?>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</partintro>
|
||||
|
||||
<refentry id="function.ftp-connect">
|
||||
|
@ -363,12 +364,15 @@ ftp_quit($conn_id);
|
|||
on the FTP server, as <parameter>remote_file</parameter>. The transfer
|
||||
<parameter>mode</parameter> specified must be either
|
||||
<constant>FTP_ASCII</constant> or <constant>FTP_BINARY</constant>.
|
||||
<example>
|
||||
<programlisting>
|
||||
$upload = ftp_put($conn_id, "$destination_file", "$source_file", FTP_ASCII);
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title><function>Ftp_put</function> example</title>
|
||||
<programlisting role="php">
|
||||
$upload = ftp_put ($conn_id, "$destination_file", "$source_file", FTP_ASCII);
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue