null Core_Ftp::__construct( string $ftp_dsn )
参数列表
参数 类型 描述 默认值 $ftp_dsn
string
Ftp://user:pass@localhost/
public function __construct($ftp_dsn)
{
$ftp = Ftp::parse_dsn($ftp_dsn);
foreach($ftp as $k=>$v)
{
$this->$k = $v;
}
}