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:
Egon Schmid 2000-09-02 10:37:02 +00:00
parent aef72026ec
commit 2eae75c39c

View file

@ -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>