From 8591c89d8613d49d4dd34bb6fcc67b654ddd9ded Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Sun, 16 Jan 2005 06:02:14 +0000 Subject: [PATCH] Clarify example Add missing option WS git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@177335 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/ftp/configure.xml | 6 +- reference/ftp/constants.xml | 46 +++++------ reference/ftp/functions/ftp-fget.xml | 8 +- reference/ftp/functions/ftp-get-option.xml | 8 +- reference/ftp/reference.xml | 95 +++++++++++----------- 5 files changed, 81 insertions(+), 82 deletions(-) diff --git a/reference/ftp/configure.xml b/reference/ftp/configure.xml index 4d8d367c36..4e39f60e0a 100644 --- a/reference/ftp/configure.xml +++ b/reference/ftp/configure.xml @@ -1,12 +1,12 @@ - +
-&reftitle.install; + &reftitle.install; In order to use FTP functions with your PHP configuration, you should add the option when installing PHP 4 or when using - PHP 3. + PHP 3. &windows.builtin;
diff --git a/reference/ftp/constants.xml b/reference/ftp/constants.xml index ca6851bf16..0065e7f383 100644 --- a/reference/ftp/constants.xml +++ b/reference/ftp/constants.xml @@ -1,5 +1,5 @@ - +
&reftitle.constants; &extension.constants; @@ -10,9 +10,7 @@ (integer) - - - + @@ -21,9 +19,7 @@ (integer) - - - + @@ -32,9 +28,7 @@ (integer) - - - + @@ -43,9 +37,7 @@ (integer) - - - + @@ -54,15 +46,15 @@ (integer) - + See ftp_set_option for information. - + - + The following constants were introduced in PHP 4.3.0. - + @@ -70,9 +62,9 @@ (integer) - + See ftp_set_option for information. - + @@ -81,10 +73,10 @@ (integer) - + Automatically determine resume position and start position for GET and PUT requests (only works if FTP_AUTOSEEK is enabled) - + @@ -93,9 +85,9 @@ (integer) - + Asynchronous transfer has failed - + @@ -104,9 +96,9 @@ (integer) - + Asynchronous transfer has finished - + @@ -115,9 +107,9 @@ (integer) - + Asynchronous transfer is still active - + diff --git a/reference/ftp/functions/ftp-fget.xml b/reference/ftp/functions/ftp-fget.xml index fba858d98c..1189d0658a 100644 --- a/reference/ftp/functions/ftp-fget.xml +++ b/reference/ftp/functions/ftp-fget.xml @@ -1,5 +1,5 @@ - + ftp_fget @@ -82,8 +82,8 @@ - + ftp_get_option @@ -44,6 +44,12 @@ Returns the current timeout used for network related operations. + + FTP_AUTOSEEK + + Returns &true; if this option is on, &false; otherwise. + + diff --git a/reference/ftp/reference.xml b/reference/ftp/reference.xml index a9441e96f9..08892fbccb 100644 --- a/reference/ftp/reference.xml +++ b/reference/ftp/reference.xml @@ -1,54 +1,54 @@ - - - FTP Functions - FTP + + + FTP Functions + FTP - -
+ +
&reftitle.intro; - - The functions in this extension implement client access to file - servers speaking the File Transfer Protocol (FTP) as defined in - &url.rfc;959. This extension is - meant for detailed access to an FTP server providing a wide range - of control to the executing script. If you only wish to - read from or write to a file on an FTP server, consider using - the ftp:// wrapper - with the filesystem functions - which provide a simpler and more intuitive interface. - -
+ + The functions in this extension implement client access to file + servers speaking the File Transfer Protocol (FTP) as defined in + &url.rfc;959. This extension is + meant for detailed access to an FTP server providing a wide range + of control to the executing script. If you only wish to + read from or write to a file on an FTP server, consider using + the ftp:// wrapper + with the filesystem functions + which provide a simpler and more intuitive interface. + +
-
- &reftitle.required; - &no.requirement; -
+
+ &reftitle.required; + &no.requirement; +
- &reference.ftp.configure; + &reference.ftp.configure; -
+
&reftitle.runtime; - &no.config; -
+ &no.config; +
-
+
&reftitle.resources; - - This extension uses one resource type, which is the link identifier - of the FTP connection, returned by ftp_connect - or ftp_ssl_connect. - -
+ + This extension uses one resource type, which is the link identifier + of the FTP connection, returned by ftp_connect + or ftp_ssl_connect. + +
- &reference.ftp.constants; + &reference.ftp.constants; -
- &reftitle.examples; - - - FTP example - +
+ &reftitle.examples; + + + FTP example + ]]> - - - -
- +
+
+
+
+
-&reference.ftp.functions; + &reference.ftp.functions; + +
-