PEAR Manual
Prev |  | Next

# PEAR_Config::readFTPConfigFile()

PEAR_Config::readFTPConfigFile() -- readFTPConfigFile

## Synopsis

    require_once '/Config.php'; (since PEAR 1.4.0)

```true|PEAR_Error` PEAR_Config::readFTPConfigFile` (string $path)`

## Description

Process a ftp configuration file by connecting to the server, retrieving the configuration file and parsing it normally. This function uses Net_FTP through the PEAR_FTP class.

## Parameter

string `$path`

  url to the remote config file, like ftp://www.example.com/pear/config.ini

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_Config::readConfigFile() | Up | PEAR_Config::remove()