cvs: phpdoc-de /reference/ftp/functions ftp-nb-put.xml
| From: | ali | Date: | Mon, 15 Sep 2003 10:22:50 +0000 |
| Subject: | cvs: phpdoc-de /reference/ftp/functions ftp-nb-put.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-907@lists.php.net to get a copy of this message | ||
ali Mon Sep 15 06:22:50 2003 EDT
Modified files:
/phpdoc-de/reference/ftp/functions ftp-nb-put.xml
Log:
- sync to EN 1.6
- translation of examples
Index: phpdoc-de/reference/ftp/functions/ftp-nb-put.xml
diff -u phpdoc-de/reference/ftp/functions/ftp-nb-put.xml:1.1
phpdoc-de/reference/ftp/functions/ftp-nb-put.xml:1.2
--- phpdoc-de/reference/ftp/functions/ftp-nb-put.xml:1.1 Mon Jun 30 11:43:27 2003
+++ phpdoc-de/reference/ftp/functions/ftp-nb-put.xml Mon Sep 15 06:22:49 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.3 Maintainer: ali Status: ready -->
+<!-- EN-Revision: 1.6 Maintainer: ali Status: ready -->
<refentry id="function.ftp-nb-put">
<refnamediv>
<refname>ftp_nb_put</refname>
@@ -8,7 +8,7 @@
<refsect1>
<title>Beschreibung</title>
<methodsynopsis>
- <type>bool</type><methodname>ftp_nb_put</methodname>
+ <type>int</type><methodname>ftp_nb_put</methodname>
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>remote_file</parameter></methodparam>
<methodparam><type>string</type><parameter>local_file</parameter></methodparam>
@@ -24,26 +24,27 @@
diese, die Datei asynchron hochlädt, so dass das Programm noch andere Operationen
durchführen kann.
</para>
- <para>
- &return.success;
- </para>
+ <para>
+ Gibt <constant>FTP_FAILED</constant>,
<constant>FTP_FINISHED</constant>, oder
+ <constant>FTP_MOREDATA</constant> zurück.
+ </para>
<para>
<example>
- <title><function>ftp_nb_put</function> example</title>
+ <title><function>ftp_nb_put</function> Beispiel</title>
<programlisting role="php">
<![CDATA[
// Initiate the Upload
$ret = ftp_nb_put($my_connection, "test.remote", "test.local", FTP_BINARY);
while ($ret == FTP_MOREDATA) {
- // Do whatever you want
+ // Irgendwas machen
echo ".";
- // Continue uploading...
+ // Upload fortsetzen
$ret = ftp_nb_continue ($my_connection);
}
if ($ret != FTP_FINISHED) {
- echo "There was an error uploading the file...";
+ echo "Beim Transfer trat ein Fehler auf";
exit(1);
}
]]>
@@ -61,14 +62,14 @@
while ($ret == FTP_MOREDATA) {
- // Do whatever you want
+ // Irgendwas machen
echo ".";
- // Continue uploading...
+ // Upload fortsetzen
$ret = ftp_nb_continue ($my_connection);
}
if ($ret != FTP_FINISHED) {
- echo "There was an error uploading the file...";
+ echo "Beim Transfer trat ein Fehler auf";
exit(1);
}
]]>