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