<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/context.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'context.ftp.php',
    1 => 'FTP context options',
    2 => 'FTP context option listing',
  ),
  'up' => 
  array (
    0 => 'context.php',
    1 => 'Опції та параметри контекстів',
  ),
  'prev' => 
  array (
    0 => 'context.http.php',
    1 => 'Опції контекста HTTP',
  ),
  'next' => 
  array (
    0 => 'context.ssl.php',
    1 => 'SSL context options',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'language/context/ftp.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="context.ftp" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">FTP context options</h1>
  <p class="refpurpose"><span class="refname">FTP context options</span> &mdash; <span class="dc-title">FTP context option listing</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-context.ftp-description">
  <h3 class="title">Опис</h3>
  <p class="para">
   Context options for <code class="literal">ftp://</code> and <code class="literal">ftps://</code>
   transports.
  </p>
 </div>


 <div class="refsect1 options" id="refsect1-context.ftp-options">
  <h3 class="title">Опції</h3>
  <p class="para">
   <dl>
    
     <dt id="context.ftp.overwrite">
      <code class="parameter">overwrite</code>
      <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
     </dt>
     <dd>
      <p class="para">
       Allow overwriting of already existing files on remote server.
       Applies to write mode (uploading) only.
      </p>
      <p class="para">
       Defaults to <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>.
      </p>
     </dd>
    
    
     <dt id="context.ftp.resume-pos">
      <code class="parameter">resume_pos</code>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       File offset at which to begin transfer. Applies to read mode (downloading) only.
      </p>
      <p class="para">
       Defaults to <code class="literal">0</code> (Beginning of File).
      </p>
     </dd>
    
    
     <dt id="context.ftp.proxy">
      <code class="parameter">proxy</code>
      <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
     </dt>
     <dd>
      <p class="para">
       Proxy FTP request via http proxy server. Applies to file read
       operations only. Ex: <code class="literal">tcp://squid.example.com:8000</code>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-context.ftp-notes">
  <h3 class="title">Примітки</h3>
  <blockquote class="note"><p><strong class="note">Зауваження</strong>: 
   <strong>Underlying socket stream context options</strong><br />
   <span class="simpara">
    Additional context options may be supported by the
    <a href="transports.inet.php" class="link">underlying transport</a>.
    For <code class="literal">ftp://</code> streams, refer to context
    options for the <code class="literal">tcp://</code> transport.  For
    <code class="literal">ftps://</code> streams, refer to context options
    for the <code class="literal">ssl://</code> transport.
   </span>
  </p></blockquote>
 </div>


 <div class="refsect1 seealso" id="refsect1-context.ftp-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><a href="wrappers.ftp.php" class="xref">ftp://</a></li>
    <li><a href="context.socket.php" class="xref">Socket context options</a></li>
    <li><a href="context.ssl.php" class="xref">SSL context options</a></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>