FTP implementation using fsockopen to connect.

package PemFTP
subpackage Pure
since 2.5.0
version 1.0
copyright Alexey Dotsenko
author Alexey Dotsenko
link Site
license LGPL http://www.opensource.org/licenses/lgpl-license.html
inherited_from \ftp_base

 Methods

Passive()

Passive($pasv = NULL
Inherited

Parameters

$pasv

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

Parameters

$timeout

SetType()

SetType($mode = FTP_AUTOASCII
Inherited

Parameters

$mode

SetUmask()

SetUmask($umask = 18
Inherited

Parameters

$umask

__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) 

Parameters

$host

$port

_data_close()

_data_close() 

_data_prepare()

_data_prepare($mode = FTP_ASCII

Parameters

$mode

_data_read()

_data_read($mode = FTP_ASCII, $fp = NULL

Parameters

$mode

$fp

_data_write()

_data_write($mode = FTP_ASCII, $fp = NULL

Parameters

$mode

$fp

_data_write_block()

_data_write_block($mode, $block) 

Parameters

$mode

$block

_exec()

_exec($cmd, $fnction = "_exec"

Parameters

$cmd

$fnction

_list()

_list($arg = "", $cmd = "LIST", $fnction = "_list"
Inherited

Parameters

$arg

$cmd

$fnction

_quit()

_quit($force = FALSE

Parameters

$force

_readmsg()

_readmsg($fnction = "_readmsg"

Parameters

$fnction

_settimeout()

_settimeout($sock) 

Parameters

$sock

_settype()

_settype($mode = FTP_ASCII
Inherited

Parameters

$mode

abort()

abort() 
Inherited

cdup()

cdup() 
Inherited

chdir()

chdir($pathname) 
Inherited

Parameters

$pathname

chmod()

chmod($pathname, $mode) 
Inherited

Parameters

$pathname

$mode

connect()

connect($server = NULL
Inherited

Parameters

$server

delete()

delete($pathname) 
Inherited

Parameters

$pathname

dirlist()

dirlist($remote) 
Inherited

Parameters

$remote

features()

features() 
Inherited

fget()

fget($fp, $remotefile, $rest = 0
Inherited

Parameters

$fp

$remotefile

$rest

file_exists()

file_exists($pathname) 
Inherited

Parameters

$pathname

filesize()

filesize($pathname) 
Inherited

Parameters

$pathname

fput()

fput($remotefile, $fp, $rest = 0
Inherited

Parameters

$remotefile

$fp

$rest

ftp_base()

ftp_base($port_mode = FALSE
Inherited

Parameters

$port_mode

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

Parameters

$pathname

mdel()

mdel($remote, $continious = false
Inherited

Parameters

$remote

$continious

mdtm()

mdtm($pathname) 
Inherited

Parameters

$pathname

mget()

mget($remote, $local = ".", $continious = false
Inherited

Parameters

$remote

$local

$continious

mkdir()

mkdir($pathname) 
Inherited

Parameters

$pathname

mmkdir()

mmkdir($dir, $mode = 511
Inherited

Parameters

$dir

$mode

mput()

mput($local = ".", $remote = NULL, $continious = false
Inherited

Parameters

$local

$remote

$continious

nlist()

nlist($pathname = "", $arg = ""
Inherited

Parameters

$pathname

$arg

parselisting()

parselisting($line) 
Inherited

Parameters

$line

put()

put($localfile, $remotefile = NULL, $rest = 0
Inherited

Parameters

$localfile

$remotefile

$rest

pwd()

pwd() 
Inherited

quit()

quit($force = false
Inherited

Parameters

$force

rawlist()

rawlist($pathname = "", $arg = ""
Inherited

Parameters

$pathname

$arg

rename()

rename($from, $to) 
Inherited

Parameters

$from

$to

restore()

restore($from) 
Inherited

Parameters

$from

rmdir()

rmdir($pathname) 
Inherited

Parameters

$pathname

site()

site($command, $fnction = "site"
Inherited

Parameters

$command

$fnction

systype()

systype() 
Inherited

 Properties

 

$AuthorizedTransferMode

$AuthorizedTransferMode 

Default

 

$AutoAsciiExt

$AutoAsciiExt 

Default

 

$LocalEcho

$LocalEcho 

Default

 

$OS_FullName

$OS_FullName 

Default

 

$OS_local

$OS_local 

Default

 

$OS_remote

$OS_remote 

Default

 

$Verbose

$Verbose 

Default

 

$_can_restore

$_can_restore 

Default

 

$_code

$_code 

Default

 

$_connected

$_connected 

Default

 

$_curtype

$_curtype 

Default

 

$_datahost

$_datahost 

Default

 

$_dataport

$_dataport 

Default

 

$_eol_code

$_eol_code 

Default

 

$_error_array

$_error_array 

Default

 

$_errors

$_errors 

Default

 

$_features

$_features 

Default

 

$_ftp_buff_size

$_ftp_buff_size 

Default

 

$_ftp_control_sock

$_ftp_control_sock 

Default

 

$_ftp_data_sock

$_ftp_data_sock 

Default

 

$_ftp_temp_sock

$_ftp_temp_sock 

Default

 

$_fullhost

$_fullhost 

Default

 

$_host

$_host 

Default

 

$_lastaction

$_lastaction 

Default

   

$_message

$_message 

Default

 

$_passive

$_passive 

Default

 

$_password

$_password 

Default

 

$_port

$_port 

Default

 

$_port_available

$_port_available 

Default

 

$_ready

$_ready 

Default

 

$_timeout

$_timeout 

Default

 

$_type

$_type 

Default

 

$_umask

$_umask 

Default