cvs: phpdoc /en/functions ftp.xml

From: Date: Wed, 07 Nov 2001 19:40:50 +0000
Subject: cvs: phpdoc /en/functions ftp.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969338535@lists.php.net to get a copy of this message
philip Wed Nov 7 14:40:50 2001 EDT Modified files: /phpdoc/en/functions ftp.xml Log: Fix missing </para> and WS Index: phpdoc/en/functions/ftp.xml diff -u phpdoc/en/functions/ftp.xml:1.23 phpdoc/en/functions/ftp.xml:1.24 --- phpdoc/en/functions/ftp.xml:1.23 Tue Nov 6 10:47:21 2001 +++ phpdoc/en/functions/ftp.xml Wed Nov 7 14:40:50 2001 @@ -1,5 +1,5 @@ <?xml encoding="iso-8859-1"?> -<!-- $Revision: 1.23 $ --> +<!-- $Revision: 1.24 $ --> <reference id="ref.ftp"> <title>FTP functions</title> <titleabbrev>FTP</titleabbrev> @@ -22,10 +22,10 @@ and <link linkend="install.configure.with-ftp"> <option>--with-ftp</option></link> when using PHP 3. </para> - <para> - <example> - <title><function>ftp</function> example</title> - <programlisting> + <para> + <example> + <title><function>ftp</function> example</title> + <programlisting> &lt;?php // set up basic connection $conn_id = ftp_connect("$ftp_server"); @@ -76,12 +76,14 @@ </funcprototype> </funcsynopsis> <para> - Returns a FTP stream on success, &false; on error.</para> + Returns a FTP stream on success, &false; on error. + </para> <para> <function>ftp_connect</function> opens up a FTP connection to the specified <parameter>host</parameter>. The <parameter>port</parameter> parameter specifies an alternate port to connect to. If it is - omitted or zero, then the default FTP port, 21, will be used.</para> + omitted or zero, then the default FTP port, 21, will be used. + </para> </refsect1> </refentry> @@ -102,9 +104,11 @@ </funcprototype> </funcsynopsis> <para> - Logs in the given FTP stream.</para> + Logs in the given FTP stream. + </para> <para> - Returns &true; on success, &false; on error.</para> + Returns &true; on success, &false; on error. + </para> </refsect1> </refentry> @@ -122,7 +126,8 @@ </funcprototype> </funcsynopsis> <para> - Returns the current directory, or &false; on error.</para> + Returns the current directory, or &false; on error. + </para> </refsect1> </refentry> @@ -140,9 +145,11 @@ </funcprototype> </funcsynopsis> <para> - Changes to the parent directory.</para> + Changes to the parent directory. + </para> <para> - Returns &true; on success, &false; on error.</para> + Returns &true; on success, &false; on error. + </para> </refsect1> </refentry> @@ -161,7 +168,8 @@ </funcprototype> </funcsynopsis> <para> - Changes to the specified <parameter>directory</parameter>.</para> + Changes to the specified <parameter>directory</parameter>. + </para> <para> Returns &true; on success, &false; on error.</para> </refsect1> @@ -182,7 +190,8 @@ </funcprototype> </funcsynopsis> <para> - Creates the specified <parameter>directory</parameter>.</para> + Creates the specified <parameter>directory</parameter>. + </para> <para> Returns the newly created directory name on success, &false; on error.</para> </refsect1> @@ -203,7 +212,8 @@ </funcprototype> </funcsynopsis> <para> - Removes the specified <parameter>directory</parameter>.</para> + Removes the specified <parameter>directory</parameter>. + </para> <para> Returns &true; on success, &false; on error.</para> </refsect1> @@ -224,7 +234,8 @@ </funcprototype> </funcsynopsis> <para> - Returns an array of filenames on success, &false; on error.</para> + Returns an array of filenames on success, &false; on error. + </para> </refsect1> </refentry> @@ -249,7 +260,8 @@ and returns the result as an array. Each array element corresponds to one line of text. The output is not parsed in any way. The system type identifier returned by <function>ftp_systype</function> - can be used to determine how the results should be interpreted.</para> + can be used to determine how the results should be interpreted. + </para> </refsect1> </refentry> @@ -269,7 +281,8 @@ </funcprototype> </funcsynopsis> <para> - Returns the remote system type, or &false; on error.</para> + Returns the remote system type, or &false; on error. + </para> </refsect1> </refentry> @@ -292,9 +305,11 @@ <parameter>pasv</parameter> parameter is &true; (it turns off passive mode if <parameter>pasv</parameter> is &false;.) In passive mode, data connections are initiated by the client, - rather than by the server.</para> + rather than by the server. + </para> <para> - Returns &true; on success, &false; on error.</para> + Returns &true; on success, &false; on error. + </para> </refsect1> </refentry> @@ -322,7 +337,8 @@ <constant>FTP_BINARY</constant>. </para> <para> - Returns &true; on success, &false; on error.</para> + Returns &true; on success, &false; on error. + </para> </refsect1> </refentry> @@ -348,9 +364,11 @@ from the FTP server, and writes it to the given file pointer, <parameter>fp</parameter>. The transfer <parameter>mode</parameter> specified must be either <constant>FTP_ASCII</constant> or - <constant>FTP_BINARY</constant>.</para> + <constant>FTP_BINARY</constant>. + </para> <para> - Returns &true; on success, &false; on error.</para> + Returns &true; on success, &false; on error. + </para> </refsect1> </refentry> @@ -377,7 +395,8 @@ <constant>FTP_ASCII</constant> or <constant>FTP_BINARY</constant>. </para> <para> - Returns &true; on success, &false; on error.</para> + Returns &true; on success, &false; on error. + </para> <para> <example> <title><function>ftp_put</function> example</title> @@ -413,7 +432,8 @@ <constant>FTP_ASCII</constant> or <constant>FTP_BINARY</constant> </para> <para> - Returns &true; on success, &false; on error.</para> + Returns &true; on success, &false; on error. + </para> </refsect1> </refentry> @@ -436,7 +456,8 @@ error occurs, of if the file does not exist, -1 is returned. Not all servers support this feature.</para> <para> - Returns the file size on success, or -1 on error.</para> + Returns the file size on success, or -1 on error. + </para> </refsect1> </refentry> @@ -461,7 +482,8 @@ support this feature. </para> <para> - Returns a UNIX timestamp on success, or -1 on error.</para> + Returns a UNIX timestamp on success, or -1 on error. + </para> <note> <para> <function>ftp_mdtm</function> does not work with directories. @@ -485,7 +507,6 @@ <paramdef>string <parameter>to</parameter></paramdef> </funcprototype> </funcsynopsis> - </para> <para> <function>ftp_rename</function> renames the file or directory currently named <parameter>from</parameter> to the new name @@ -493,6 +514,7 @@ </para> <para> Returns &true; on success, &false; on error. + </para> </refsect1> </refentry> @@ -515,7 +537,8 @@ <parameter>path</parameter> from the FTP server. </para> <para> - Returns &true; on success, &false; on error.</para> + Returns &true; on success, &false; on error. + </para> </refsect1> </refentry> @@ -538,9 +561,11 @@ <parameter>cmd</parameter> to the FTP server. SITE commands are not standardized, and vary from server to server. They are useful for handling such things as file permissions and group - membership. </para> + membership. + </para> <para> - Returns &true; on success, &false; on error.</para> + Returns &true; on success, &false; on error. + </para> </refsect1> </refentry>

« previous php.doc (#969338535) next »