FTP implementation using fsockopen to connect.
Methods
Passive()
Passive($pasv = NULL
)
Inherited
PopError()
PopError()
Inherited
PushError()
PushError($fctname, $msg, $desc = false
)
Inherited
Parameters
$fctname
$msg
$desc
SendMSG()
SendMSG($message = ""
, $crlf = true
)
Inherited
Parameters
$message
$crlf
SetServer()
SetServer($host, $port = 21
, $reconnect = true
)
Inherited
Parameters
$host
$port
$reconnect
SetTimeout()
SetTimeout($timeout = 30
)
Inherited
SetType()
SetType($mode = FTP_AUTOASCII
)
Inherited
SetUmask()
SetUmask($umask = 18
)
Inherited
__construct()
__construct($verb = FALSE
, $le = FALSE
)
inherited_from |
\ftp_base::__construct() |
Parameters
$verb
$le
__construct()
__construct($port_mode = FALSE
, $verb = FALSE
, $le = FALSE
)
Inherited
Parameters
$port_mode
$verb
$le
_checkCode()
_checkCode()
Inherited
_connect()
_connect($host, $port)
_data_close()
_data_close()
_data_prepare()
_data_prepare($mode = FTP_ASCII
)
_data_read()
_data_read($mode = FTP_ASCII
, $fp = NULL
)
_data_write()
_data_write($mode = FTP_ASCII
, $fp = NULL
)
_data_write_block()
_data_write_block($mode, $block)
_exec()
_exec($cmd, $fnction = "_exec"
)
_list()
_list($arg = ""
, $cmd = "LIST"
, $fnction = "_list"
)
Inherited
Parameters
$arg
$cmd
$fnction
_quit()
_quit($force = FALSE
)
_readmsg()
_readmsg($fnction = "_readmsg"
)
_settimeout()
_settimeout($sock)
_settype()
_settype($mode = FTP_ASCII
)
Inherited
abort()
abort()
Inherited
chdir()
chdir($pathname)
Inherited
chmod()
chmod($pathname, $mode)
Inherited
Parameters
$pathname
$mode
connect()
connect($server = NULL
)
Inherited
delete()
delete($pathname)
Inherited
dirlist()
dirlist($remote)
Inherited
features()
features()
Inherited
fget()
fget($fp, $remotefile, $rest = 0
)
Inherited
Parameters
$fp
$remotefile
$rest
file_exists()
file_exists($pathname)
Inherited
filesize()
filesize($pathname)
Inherited
fput()
fput($remotefile, $fp, $rest = 0
)
Inherited
Parameters
$remotefile
$fp
$rest
ftp_base()
ftp_base($port_mode = FALSE
)
Inherited
get()
get($remotefile, $localfile = NULL
, $rest = 0
)
Inherited
Parameters
$remotefile
$localfile
$rest
glob()
glob($pattern, $handle = NULL
)
Inherited
Parameters
$pattern
$handle
glob_pattern_match()
glob_pattern_match($pattern, $string)
Inherited
Parameters
$pattern
$string
glob_regexp()
glob_regexp($pattern, $probe)
Inherited
Parameters
$pattern
$probe
is_exists()
is_exists($pathname)
Inherited
login()
login($user = NULL
, $pass = NULL
)
Inherited
mdel()
mdel($remote, $continious = false
)
Inherited
Parameters
$remote
$continious
mdtm()
mdtm($pathname)
Inherited
mget()
mget($remote, $local = "."
, $continious = false
)
Inherited
Parameters
$remote
$local
$continious
mkdir()
mkdir($pathname)
Inherited
mmkdir()
mmkdir($dir, $mode = 511
)
Inherited
mput()
mput($local = "."
, $remote = NULL
, $continious = false
)
Inherited
Parameters
$local
$remote
$continious
nlist()
nlist($pathname = ""
, $arg = ""
)
Inherited
Parameters
$pathname
$arg
parselisting()
parselisting($line)
Inherited
put()
put($localfile, $remotefile = NULL
, $rest = 0
)
Inherited
Parameters
$localfile
$remotefile
$rest
quit()
quit($force = false
)
Inherited
rawlist()
rawlist($pathname = ""
, $arg = ""
)
Inherited
Parameters
$pathname
$arg
rename()
rename($from, $to)
Inherited
restore()
restore($from)
Inherited
rmdir()
rmdir($pathname)
Inherited
site()
site($command, $fnction = "site"
)
Inherited
Parameters
$command
$fnction
systype()
systype()
Inherited
Properties
$AuthorizedTransferMode
$AuthorizedTransferMode
$AutoAsciiExt
$AutoAsciiExt
$OS_FullName
$OS_FullName
$_can_restore
$_can_restore
$_error_array
$_error_array
$_ftp_buff_size
$_ftp_buff_size
$_ftp_control_sock
$_ftp_control_sock
$_ftp_data_sock
$_ftp_data_sock
$_ftp_temp_sock
$_ftp_temp_sock
$_lastaction
$_lastaction
$_port_available
$_port_available