cvs: phpdoc-de /reference/ftp/functions ftp-exec.xml ftp-nb-get.xml ftp-nb-put.xml
| From: | ali | Date: | Mon, 15 Dec 2003 17:40:40 +0000 |
| Subject: | cvs: phpdoc-de /reference/ftp/functions ftp-exec.xml ftp-nb-get.xml ftp-nb-put.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-1037@lists.php.net to get a copy of this message | ||
ali Mon Dec 15 12:40:40 2003 EDT
Modified files:
/phpdoc-de/reference/ftp/functions ftp-exec.xml ftp-nb-get.xml
ftp-nb-put.xml
Log:
sync to en
Index: phpdoc-de/reference/ftp/functions/ftp-exec.xml
diff -u phpdoc-de/reference/ftp/functions/ftp-exec.xml:1.2
phpdoc-de/reference/ftp/functions/ftp-exec.xml:1.3
--- phpdoc-de/reference/ftp/functions/ftp-exec.xml:1.2 Sun Dec 14 11:26:13 2003
+++ phpdoc-de/reference/ftp/functions/ftp-exec.xml Mon Dec 15 12:40:40 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.8 Maintainer: ali Status: ready -->
+<!-- EN-Revision: 1.9 Maintainer: ali Status: ready -->
<refentry id='function.ftp-exec'>
<refnamediv>
<refname>ftp_exec</refname>
Index: phpdoc-de/reference/ftp/functions/ftp-nb-get.xml
diff -u phpdoc-de/reference/ftp/functions/ftp-nb-get.xml:1.3
phpdoc-de/reference/ftp/functions/ftp-nb-get.xml:1.4
--- phpdoc-de/reference/ftp/functions/ftp-nb-get.xml:1.3 Sun Dec 14 11:26:13 2003
+++ phpdoc-de/reference/ftp/functions/ftp-nb-get.xml Mon Dec 15 12:40:40 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.7 Maintainer: ali Status: ready -->
+<!-- EN-Revision: 1.8 Maintainer: ali Status: ready -->
<refentry id="function.ftp-nb-get">
<refnamediv>
<refname>ftp_nb_get</refname>
@@ -40,7 +40,7 @@
/* ... */
// Download fortsetzen
- $ret = ftp_nb_continue ($my_connection);
+ $ret = ftp_nb_continue($my_connection);
}
if ($ret != FTP_FINISHED) {
echo "Es gab einen Fehler bei der Übertragung.";
@@ -54,17 +54,19 @@
<programlisting role="php">
<![CDATA[
// Initialisieren
-$ret = ftp_nb_get ($my_connection, "test", "README", FTP_BINARY,
+$ret = ftp_nb_get($my_connection, "test", "README", FTP_BINARY,
filesize("test"));
-// ORDER: $ret = ftp_nb_get ($my_connection, "test", "README",
-// FTP_BINARY, FTP_AUTORESUME);
+
+// ODER: $ret = ftp_nb_get($my_connection, "test", "README", FTP_BINARY,
+// FTP_AUTORESUME);
+
while ($ret == FTP_MOREDATA) {
// Irgendwas machen ...
echo ".";
// Download fortsetzen
- $ret = ftp_nb_continue ($my_connection);
+ $ret = ftp_nb_continue($my_connection);
}
if ($ret != FTP_FINISHED) {
echo "Es gab einen Fehler bei der Übertragung.";
@@ -81,17 +83,17 @@
<programlisting role="php">
<![CDATA[
// Autoseek deaktivieren
-ftp_set_option ($my_connection, FTP_AUTOSEEK, FALSE);
+ftp_set_option($my_connection, FTP_AUTOSEEK, FALSE);
// Initialisieren
-$ret = ftp_nb_get ($my_connection, "newfile", "README", FTP_BINARY, 100);
+$ret = ftp_nb_get($my_connection, "newfile", "README", FTP_BINARY, 100);
while ($ret == FTP_MOREDATA) {
// Irgendwas machen ...
echo ".";
// Download fortsetzen
- $ret = ftp_nb_continue ($my_connection);
+ $ret = ftp_nb_continue($my_connection);
}
]]>
</programlisting>
Index: phpdoc-de/reference/ftp/functions/ftp-nb-put.xml
diff -u phpdoc-de/reference/ftp/functions/ftp-nb-put.xml:1.2
phpdoc-de/reference/ftp/functions/ftp-nb-put.xml:1.3
--- phpdoc-de/reference/ftp/functions/ftp-nb-put.xml:1.2 Mon Sep 15 06:22:49 2003
+++ phpdoc-de/reference/ftp/functions/ftp-nb-put.xml Mon Dec 15 12:40:40 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.6 Maintainer: ali Status: ready -->
+<!-- EN-Revision: 1.7 Maintainer: ali Status: ready -->
<refentry id="function.ftp-nb-put">
<refnamediv>
<refname>ftp_nb_put</refname>
@@ -41,7 +41,7 @@
echo ".";
// Upload fortsetzen
- $ret = ftp_nb_continue ($my_connection);
+ $ret = ftp_nb_continue($my_connection);
}
if ($ret != FTP_FINISHED) {
echo "Beim Transfer trat ein Fehler auf";
@@ -54,11 +54,12 @@
<title>Ein Upload mit <function>ftp_nb_put</function> wieder
aufnehmen</title>
<programlisting role="php">
<![CDATA[
-// Initiate
-$ret = ftp_nb_put ($my_connection, "test.remote", "test.local",
+//Initialisieren
+$ret = ftp_nb_put($my_connection, "test.remote", "test.local",
FTP_BINARY, ftp_size("test.remote"));
-// OR: $ret = ftp_nb_put ($my_connection, "test.remote", "test.local",
-// FTP_BINARY, FTP_AUTORESUME);
+// ODER: $ret = ftp_nb_put($my_connection, "test.remote", "test.local",
+// FTP_BINARY, FTP_AUTORESUME);
+
while ($ret == FTP_MOREDATA) {
@@ -66,7 +67,7 @@
echo ".";
// Upload fortsetzen
- $ret = ftp_nb_continue ($my_connection);
+ $ret = ftp_nb_continue($my_connection);
}
if ($ret != FTP_FINISHED) {
echo "Beim Transfer trat ein Fehler auf";