PHP Classes

File: docs/

Recommend this page to a friend!
  Classes of El Amrani Chakir  >  PHP FTP Client Library  >  docs/  >  Download  
File: docs/
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP FTP Client Library
Manage files in remote FTP server
Author: By
Last change:
Date: 7 months ago
Size: 1,134 bytes


Class file image Download


After create an FTP connection you may need to set some options like turning connection to the passive mode, well for that we provide the FtpConfig class that includes methods to configure the FTP connection and change its runtime options.

option | class method | default | description --- |--- |--- |--- passive | setPassive | false | Turning the passive mode ON/OFF. timeout | setTimeout | 90 | Sets timeout value of all FTP transfer operations. autoSeek | setAutoSeek | true | This should be set to true for resuming transfer operations. usePassiveAddress | usePassiveAddress | true | Whether or not to use the passive IP address returned after sending the passive command through the control channel.

Example :

$config = new FtpConfig(ConnectionInterface $connection);

// Setters

// Getters
For more information send a message to info at phpclasses dot org.