cvs: phpdoc /en/functions ftp.xml

From: Date: Tue, 06 Nov 2001 14:46:55 +0000
Subject: cvs: phpdoc /en/functions ftp.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969338518@lists.php.net to get a copy of this message
leszek Tue Nov 6 09:46:55 2001 EDT Modified files: /phpdoc/en/functions ftp.xml Log: Corrected information order in func descriptions Index: phpdoc/en/functions/ftp.xml diff -u phpdoc/en/functions/ftp.xml:1.21 phpdoc/en/functions/ftp.xml:1.22 --- phpdoc/en/functions/ftp.xml:1.21 Fri Sep 21 18:47:38 2001 +++ phpdoc/en/functions/ftp.xml Tue Nov 6 09:46:55 2001 @@ -1,5 +1,5 @@ <?xml encoding="iso-8859-1"?> -<!-- $Revision: 1.21 $ --> +<!-- $Revision: 1.22 $ --> <reference id="ref.ftp"> <title>FTP functions</title> <titleabbrev>FTP</titleabbrev> @@ -101,10 +101,10 @@ <paramdef>string <parameter>password</parameter></paramdef> </funcprototype> </funcsynopsis> - <para> - Returns &true; on success, &false; on error.</para> <para> Logs in the given FTP stream.</para> + <para> + Returns &true; on success, &false; on error.</para> </refsect1> </refentry> @@ -139,10 +139,10 @@ <paramdef>int <parameter>ftp_stream</parameter></paramdef> </funcprototype> </funcsynopsis> - <para> - Returns &true; on success, &false; on error.</para> <para> Changes to the parent directory.</para> + <para> + Returns &true; on success, &false; on error.</para> </refsect1> </refentry> @@ -160,10 +160,10 @@ <paramdef>string <parameter>directory</parameter></paramdef> </funcprototype> </funcsynopsis> - <para> - Returns &true; on success, &false; on error.</para> <para> Changes to the specified <parameter>directory</parameter>.</para> + <para> + Returns &true; on success, &false; on error.</para> </refsect1> </refentry> @@ -181,10 +181,10 @@ <paramdef>string <parameter>directory</parameter></paramdef> </funcprototype> </funcsynopsis> - <para> - Returns the newly created directory name on success, &false; on error.</para> <para> Creates the specified <parameter>directory</parameter>.</para> + <para> + Returns the newly created directory name on success, &false; on error.</para> </refsect1> </refentry> @@ -202,10 +202,10 @@ <paramdef>string <parameter>directory</parameter></paramdef> </funcprototype> </funcsynopsis> - <para> - Returns &true; on success, &false; on error.</para> <para> Removes the specified <parameter>directory</parameter>.</para> + <para> + Returns &true; on success, &false; on error.</para> </refsect1> </refentry> @@ -288,13 +288,13 @@ </funcprototype> </funcsynopsis> <para> - Returns &true; on success, &false; on error.</para> - <para> <function>ftp_pasv</function> turns on passive mode if the <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> + <para> + Returns &true; on success, &false; on error.</para> </refsect1> </refentry> @@ -315,14 +315,14 @@ </funcprototype> </funcsynopsis> <para> - Returns &true; on success, &false; on error.</para> - <para> <function>ftp_get</function> retrieves <parameter>remote_file</parameter> from the FTP server, and saves it to <parameter>local_file</parameter> locally. The transfer <parameter>mode</parameter> specified must be either <constant>FTP_ASCII</constant> or <constant>FTP_BINARY</constant>. </para> + <para> + Returns &true; on success, &false; on error.</para> </refsect1> </refentry> @@ -344,12 +344,12 @@ </funcprototype> </funcsynopsis> <para> - Returns &true; on success, &false; on error.</para> - <para> <function>ftp_fget</function> retrieves <parameter>remote_file</parameter> from the FTP server, and writes it to the given file pointer, <parameter>fp</parameter>. The transfer <parameter>mode</parameter> specified must be either FTP_ASCII or FTP_BINARY.</para> + <para> + Returns &true; on success, &false; on error.</para> </refsect1> </refentry> @@ -370,14 +370,14 @@ </funcprototype> </funcsynopsis> <para> - Returns &true; on success, &false; on error.</para> - <para> <function>ftp_put</function> stores <parameter>local_file</parameter> on the FTP server, as <parameter>remote_file</parameter>. The transfer <parameter>mode</parameter> specified must be either <constant>FTP_ASCII</constant> or <constant>FTP_BINARY</constant>. </para> <para> + Returns &true; on success, &false; on error.</para> + <para> <example> <title><function>ftp_put</function> example</title> <programlisting role="php"> @@ -405,14 +405,14 @@ </funcprototype> </funcsynopsis> <para> - Returns &true; on success, &false; on error.</para> - <para> <function>ftp_fput</function> uploads the data from the file pointer <parameter>fp</parameter> until end of file. The results are stored in <parameter>remote_file</parameter> on the FTP server. The transfer <parameter>mode</parameter> specified must be either <constant>FTP_ASCII</constant> or <constant>FTP_BINARY</constant> </para> + <para> + Returns &true; on success, &false; on error.</para> </refsect1> </refentry> @@ -431,11 +431,11 @@ </funcprototype> </funcsynopsis> <para> - Returns the file size on success, or -1 on error.</para> - <para> <function>ftp_size</function> returns the size of a file. If an 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> </refsect1> </refentry> @@ -454,13 +454,13 @@ </funcprototype> </funcsynopsis> <para> - Returns a UNIX timestamp on success, or -1 on error.</para> - <para> <function>ftp_mdtm</function> checks the last-modified time for a file, and returns it as a UNIX timestamp. If an error occurs, or the file does not exist, -1 is returned. Note that not all servers support this feature. </para> + <para> + Returns a UNIX timestamp on success, or -1 on error.</para> <note> <para> <function>ftp_mdtm</function> does not work with directories. @@ -484,14 +484,14 @@ <paramdef>string <parameter>to</parameter></paramdef> </funcprototype> </funcsynopsis> - <para> - Returns &true; on success, &false; on error. </para> <para> <function>ftp_rename</function> renames the file or directory currently named <parameter>from</parameter> to the new name <parameter>to</parameter>, on the FTP stream <parameter>ftp_stream</parameter>. </para> + <para> + Returns &true; on success, &false; on error. </refsect1> </refentry> @@ -510,11 +510,11 @@ </funcprototype> </funcsynopsis> <para> - Returns &true; on success, &false; on error.</para> - <para> <function>ftp_delete</function> deletes the file specified by <parameter>path</parameter> from the FTP server. </para> + <para> + Returns &true; on success, &false; on error.</para> </refsect1> </refentry> @@ -533,13 +533,13 @@ </funcprototype> </funcsynopsis> <para> - Returns &true; on success, &false; on error.</para> - <para> <function>ftp_site</function> sends the command specified by <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> + <para> + Returns &true; on success, &false; on error.</para> </refsect1> </refentry>

« previous php.doc (#969338518) next »