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

ftp 上の設定ファイルを取得します。まずサーバに接続し、設定ファイルを取得し、 そして通常通りにパースします。この関数は、PEAR_FTP クラスで Net_FTP を使用しています。

Parameter

string $path

リモートの設定ファイルへのパスを ftp://www.example.com/pear/config.ini のように指定します。

Throws

例外はスローされません。

Note

This function can not be called statically.