Phdfs
PHP Manual

The phdfs class

(phdfs >= 0.1.0)

Introduction

Class synopsis

phdfs {
/* Properties */
static $host ;
static $port ;
/* Methods */
public bool connect ( void )
public __construct ( string $ip , string $port )
public bool copy ( string $source_file , string $destination_file )
public bool create_directory ( string $path )
public bool delete ( string $path )
public void __destruct ( void )
public bool disconnect ( void )
public bool exists ( string $path )
public array file_info ( string $path )
public array list_directory ( string $path [, int $level = 0 ] )
public string read ( string $path [, int $length = 0 ] )
public bool rename ( string $old_path , string $new_path )
public int tell ( string $path [, int $read_length = 1024 ] )
public bool write ( string $path , string $buffer [, int $mode = 0 ] )
}

Properties

host

port

Table of Contents


Phdfs
PHP Manual