mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Closing bug 13124, and another one in ftp_quit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@56786 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
19fc0382c8
commit
72f1de697f
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.19 $ -->
|
||||
<!-- $Revision: 1.20 $ -->
|
||||
<reference id="ref.ftp">
|
||||
<title>FTP functions</title>
|
||||
<titleabbrev>FTP</titleabbrev>
|
||||
|
@ -36,10 +36,10 @@ $login_result = ftp_login($conn_id, "$ftp_user_name", "$ftp_user_pass");
|
|||
// check connection
|
||||
if ((!$conn_id) || (!$login_result)) {
|
||||
echo "Ftp connection has failed!";
|
||||
echo "Attempted to connect to $ftp_server for user $user";
|
||||
echo "Attempted to connect to $ftp_server for user $ftp_user_name";
|
||||
die;
|
||||
} else {
|
||||
echo "Connected to $ftp_server, for user $user";
|
||||
echo "Connected to $ftp_server, for user $ftp_user_name";
|
||||
}
|
||||
|
||||
// upload the file
|
||||
|
@ -557,7 +557,7 @@ $upload = ftp_put ($conn_id, "$destination_file", "$source_file", FTP_ASCII);
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
<function>ftp_connect</function> closes <parameter>ftp_stream</parameter>.
|
||||
<function>ftp_quit</function> closes <parameter>ftp_stream</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue