leszek          Tue May 14 18:38:50 2002 EDT

  Added files:                 
    /phpdoc-pl/reference/ftp/functions  ftp-close.xml ftp-exec.xml 
                                        ftp-get-option.xml 
                                        ftp-set-option.xml 
  Log:
  Updated ftp reference to newest version
  

Index: phpdoc-pl/reference/ftp/functions/ftp-close.xml
+++ phpdoc-pl/reference/ftp/functions/ftp-close.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.2 Maintainer: leszek Status: ready -->
<!-- $Revision: 1.1 $ -->
  <refentry id="function.ftp-close">
   <refnamediv>
    <refname>ftp_close</refname>
    <refpurpose>Zamyka połączenie FTP</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Opis</title>
     <methodsynopsis>
      <type>void</type><methodname>ftp_close</methodname>
      
<methodparam><type>resource</type><parameter>strumień_ftp</parameter></methodparam>
     </methodsynopsis>
    <note>
     <para>
      Funkcja ta dostępna jest tylko w wersji CVS.
     </para>
    </note>
    <para>
     <function>ftp_close</function> zamyka <parameter>strumień_ftp</parameter>
     i zwalnia zasób. Nie można ponownie używać tego zasobu, lecz trzeba go
     ponownie otworzyć korzystając z funkcji <function>ftp_connect</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-pl/reference/ftp/functions/ftp-exec.xml
+++ phpdoc-pl/reference/ftp/functions/ftp-exec.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.3 Maintainer: leszek Status: ready -->
<!-- $Revision: 1.1 $ -->
  <refentry id='function.ftp-exec'>
   <refnamediv>
    <refname>ftp_exec</refname>
    <refpurpose>Żądaj wywołania programu na serwerze FTP</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Opis</title>
     <methodsynopsis>
      <type>bool</type><methodname>ftp_exec</methodname>
      
<methodparam><type>resource</type><parameter>strumień_ftp</parameter></methodparam>
      <methodparam><type>string</type><parameter>polecenie</parameter></methodparam>
     </methodsynopsis>
     <para>
      Wysyła żądanie SITE EXEC <parameter>polecenie</parameter> do serwera
      FTP. Funkcja zwraca &false; jeśli żądanie się nie powiodło lub wyjście
      polecenia w przeciwnym przypadku.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-pl/reference/ftp/functions/ftp-get-option.xml
+++ phpdoc-pl/reference/ftp/functions/ftp-get-option.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.3 Maintainer: leszek Status: ready -->
<!-- $Revision: 1.1 $ -->
  <refentry id='function.ftp-get-option'>
   <refnamediv>
    <refname>ftp_get_option</refname>
    <refpurpose>Pobiera różne opcje startowe strumienia FTP</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Opis</title>
     <methodsynopsis>
      <type>mixed</type><methodname>ftp_get_option</methodname>
      <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
      <methodparam><type>int</type><parameter>parametr</parameter></methodparam>
     </methodsynopsis>
    <note>
     <para>
      Funkcja ta dostępna jest tylko w wersji CVS.
     </para>
    </note>
    <para>
     Funkcja zwraca odpowiednią wartość w przypadku powodzenia lub &false;
     jeśli podany <parameter>parametr</parameter> nie jest obsługiwany. W tym
     drugim przypadku wyświetlany jest komunikat z ostrzeżeniem.
    </para>
    <para>
     Funkcja ta zwraca wartość żądanego <parameter>parametru</parameter> z
     podanego <parameter>strumienia_ftp</parameter>. W chwili obecnej
     następujące parametry są obsługiwane:
     <table>
      <title>Lista opcji startowych FTP</title>
      <tgroup cols="2">
       <tbody>
        <row>
         <entry>FTP_TIMEOUT_SEC</entry>
         <entry>Zwraca biężący limit czasu na operacje sieciowe.</entry>
        </row>
       </tbody>
      </tgroup>
     </table>
    </para>
    <para>
     <example>
      <title>Przykład użycia <function>ftp_get_option</function></title>
      <programlisting role="php">
<![CDATA[
// Pobież limit czasu z podanego strumienia FTP
$timeout = ftp_get_option($conn_id, FTP_TIMEOUT_SEC);
]]>
      </programlisting>
     </example>
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-pl/reference/ftp/functions/ftp-set-option.xml
+++ phpdoc-pl/reference/ftp/functions/ftp-set-option.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.3 Maintainer: leszek Status: ready -->
<!-- $Revision: 1.1 $ -->
  <refentry id='function.ftp-set-option'>
   <refnamediv>
    <refname>ftp_set_option</refname>
    <refpurpose>Ustaw różne opcje startowe FTP</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Opis</title>
     <methodsynopsis>
      <type>bool</type><methodname>ftp_set_option</methodname>
      
<methodparam><type>resource</type><parameter>strumień_ftp</parameter></methodparam>
      <methodparam><type>int</type><parameter>parametr</parameter></methodparam>
      <methodparam><type>mixed</type><parameter>wartość</parameter></methodparam>
     </methodsynopsis>
    <note>
     <para>
      Funkcja ta jest dostępna tylko w wersji CVS.
     </para>
    </note>
    <para>
     Zwraca &true; jeśli parametr mógł zostać ustawiony, &false; jeśli nie
     mógł. Jeśli <parameter>parametr</parameter> nie jest obsługiwany lub
     przekazana <parameter>wartość</parameter> nie jest wartością oczekiwaną
     dla danego <parameter>parametru</parameter>, wyświetlony zostanie
     komunikat z ostrzeżeniem.
    </para>
    <para>
     Funkcja ta kontroluje różne parametry czasu wykonania dla danego
     strumienia FTP. <parameter>wartość</parameter> zależy od tego, który
     <parameter>parametr</parameter> ma zostać zmieniony. W chwili obecnej
     następujące parametry są obsługiwane:
     <table>
      <title>Obsługiwane parametry startowe FTP</title>
      <tgroup cols="2">
       <tbody>
        <row>
         <entry>FTP_TIMEOUT_SEC</entry>
         <entry>Zmienia limit czasu w sekundach używane we wszystkich
          funkcjach sieciowych. Parametr <parameter>wartość</parameter> musi
          być typu iny i być większy niż 0. Domyślną wartością jest 90
          sekund.</entry>
        </row>
       </tbody>
      </tgroup>
     </table>
    </para>
    <para>
     <example>
      <title>Przykład użycia <function>ftp_set_option</function></title>
      <programlisting role="php">
<![CDATA[
// Zmniejsz limit czasu połączeń sieciowych na 10 sekund
ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10);
]]>
      </programlisting>
     </example>
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Reply via email to