JFTP
array
$_autoAscii
= array ("asp", "bat", "c", "cpp", "csv", "h", "htm", "html", "shtml", "ini", "inc", "log", "php", "php3", "pl", "perl", "sh", "sql", "txt", "xhtml", "xml") (line 104)
Array to hold ascii format file extensions
socket
$_conn
= null (line 55)
Server connection resource
socket
$_dataconn
= null (line 63)
Data port connection resource
array
$_lineEndings
= array ('UNIX' => "\n", 'MAC' => "\r", 'WIN' => "\r\n") (line 113)
Array to hold native line ending characters
string
$_OS
= null (line 95)
Native OS Type
array
$_pasv
= null (line 71)
Passive connection information
string
$_response
= null (line 79)
Response Message
int
$_type
= null (line 87)
Transfer Type
Method to change the current working directory on the FTP server
Method to change mode for a path on the FTP server
Method to connect to a FTP server
Method to create an empty file on the FTP server
Method to delete a path [file/folder] on the FTP server
Method to get a file from the FTP server and save it to a local file
Returns a reference to the global FTP connector object, only creating it if it doesn't already exist.
This method must be invoked as:
$ftp = &JFTP::getInstance($host);
Method to list the contents of a directory on the FTP server
Method to login to a server once connected
Method to create a directory on the FTP server
Method to list the file/folder names of the contents of a directory on the FTP server
Method to read a file from the FTP server's contents into a buffer
Method to reinitialize the server, ie. need to login again
NOTE: This command not available on all servers
Method to rename a file/folder on the FTP server
Method to restart data transfer at a given byte
Set client options
Method to store a file to the FTP server
Method to write a string to the FTP server
Set transfer mode
Send command to the FTP server and validate an expected response code
Verify the response code from the server and log response if flag is set
Inherited From JObject
JObject::__construct()
JObject::JObject()
JObject::get()
JObject::set()
JObject::toString()
JObject::__destruct()
Documentation generated on Sat, 4 Feb 2006 14:23:36 +0100 by phpDocumentor 1.3.0RC4