Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 1976

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Predefined Constants</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ftp.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ftp.examples.html">Examples</a></div>
 <div class="up"><a href="book.ftp.html">FTP</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="ftp.constants" class="appendix">
 <h1>Predefined Constants</h1>

 <p class="simpara">
The constants below are defined by this extension, and
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.
</p>
 <dl>

  <dt id="constant.ftp-ascii">
   <span class="term">
    <strong><code>FTP_ASCII</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <p class="para"/>
   </dd>

  </dt>

  <dt id="constant.ftp-text">
   <span class="term">
    <strong><code>FTP_TEXT</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <p class="para"/>
   </dd>

  </dt>

  <dt id="constant.ftp-binary">
   <span class="term">
    <strong><code>FTP_BINARY</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <p class="para"/>
   </dd>

  </dt>

  <dt id="constant.ftp-image">
   <span class="term">
    <strong><code>FTP_IMAGE</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <p class="para"/>
   </dd>

  </dt>

  <dt id="constant.ftp-timeout-sec">
   <span class="term">
    <strong><code>FTP_TIMEOUT_SEC</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <p class="para">
     See  <span class="function"><a href="function.ftp-set-option.html" class="function">ftp_set_option()</a></span> for information.
    </p>
   </dd>

  </dt>

 </dl>

 <p class="para">
  The following constants were introduced in PHP 4.3.0.
 </p>
 <dl>

  <dt id="constant.ftp-autoseek">
   <span class="term">
    <strong><code>FTP_AUTOSEEK</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <p class="para">
     See  <span class="function"><a href="function.ftp-set-option.html" class="function">ftp_set_option()</a></span> for information.
    </p>
   </dd>

  </dt>

  <dt id="constant.ftp-autoresume">
   <span class="term">
    <strong><code>FTP_AUTORESUME</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <p class="para">
     Automatically determine resume position and start position for GET and PUT requests
     (only works if FTP_AUTOSEEK is enabled)
    </p>
   </dd>

  </dt>

  <dt id="constant.ftp-failed">
   <span class="term">
    <strong><code>FTP_FAILED</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <p class="para">
     Asynchronous transfer has failed
    </p>
   </dd>

  </dt>

  <dt id="constant.ftp-finished">
   <span class="term">
    <strong><code>FTP_FINISHED</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <p class="para">
     Asynchronous transfer has finished
    </p>
   </dd>

  </dt>

  <dt id="constant.ftp-moredata">
   <span class="term">
    <strong><code>FTP_MOREDATA</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <p class="para">
     Asynchronous transfer is still active
    </p>
   </dd>

  </dt>

 </dl>

</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ftp.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ftp.examples.html">Examples</a></div>
 <div class="up"><a href="book.ftp.html">FTP</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>