![]() |
Xataface 2.0
Xataface Application Framework
|
Public Member Functions | |
| FTP () | |
| connect ($host, $port=21, $timeout=FTP_TIMEOUT) | |
| isConnected () | |
| disconnect () | |
| close () | |
| login ($user, $pass) | |
| cdup () | |
| cwd ($path) | |
| cd ($path) | |
| chdir ($path) | |
| chmod ($mode, $filename) | |
| delete ($filename) | |
| exec ($cmd) | |
| fget ($fp, $remote, $mode=FTP_BINARY, $resumepos=0) | |
| fput ($remote, $resource, $mode=FTP_BINARY, $startpos=0) | |
| get_option ($option) | |
| get ($locale, $remote, $mode=FTP_BINARY, $resumepos=0) | |
| mdtm ($name) | |
| mkdir ($name) | |
| nb_continue () | |
| nb_fget () | |
| nb_fput () | |
| nb_get () | |
| nb_put () | |
| nlist ($remote_filespec="") | |
| pasv ($pasv) | |
| put ($remote, $local, $mode=FTP_BINARY, $startpos=0) | |
| pwd () | |
| quit () | |
| raw ($cmd) | |
| rawlist ($remote_filespec="") | |
| ls ($remote_filespec="") | |
| rename ($from, $to) | |
| rmdir ($name) | |
| set_option () | |
| site ($cmd) | |
| size ($name) | |
| ssl_connect () | |
| systype () | |
| getLastResult () | |
| _hasNewResult () | |
| _waitForResult () | |
| _readln () | |
| _printCommand ($line) | |
| _pasv () | |
| _download ($cmd) | |
| _uploadResource ($cmd, $resource) | |
| _resetError () | |
| _setError ($no, $msg) | |
| _isError () | |
Data Fields | |
| $passiveMode = TRUE | |
| $lastLines = array() | |
| $lastLine = "" | |
| $controlSocket = NULL | |
| $newResult = FALSE | |
| $lastResult = -1 | |
| $pasvAddr = NULL | |
| $error_no = NULL | |
| $error_msg = NULL | |
Definition at line 22 of file ftp.class.php.
| _download | ( | $ | cmd | ) |
Definition at line 491 of file ftp.class.php.
| _hasNewResult | ( | ) |
Definition at line 421 of file ftp.class.php.
| _isError | ( | ) |
Definition at line 554 of file ftp.class.php.
| _pasv | ( | ) |
Definition at line 462 of file ftp.class.php.
| _printCommand | ( | $ | line | ) |
Definition at line 455 of file ftp.class.php.
| _readln | ( | ) |
Definition at line 431 of file ftp.class.php.
| _resetError | ( | ) |
Definition at line 534 of file ftp.class.php.
| _setError | ( | $ | no, |
| $ | msg | ||
| ) |
Definition at line 540 of file ftp.class.php.
| _uploadResource | ( | $ | cmd, |
| $ | resource | ||
| ) |
Definition at line 512 of file ftp.class.php.
| _waitForResult | ( | ) |
Definition at line 426 of file ftp.class.php.
| cd | ( | $ | path | ) |
Definition at line 111 of file ftp.class.php.
| cdup | ( | ) |
Definition at line 91 of file ftp.class.php.
| chdir | ( | $ | path | ) |
Definition at line 115 of file ftp.class.php.
| chmod | ( | $ | mode, |
| $ | filename | ||
| ) |
Definition at line 119 of file ftp.class.php.
| close | ( | ) |
Definition at line 66 of file ftp.class.php.
| connect | ( | $ | host, |
| $ | port = 21, |
||
| $ | timeout = FTP_TIMEOUT |
||
| ) |
Definition at line 38 of file ftp.class.php.
| cwd | ( | $ | path | ) |
Definition at line 101 of file ftp.class.php.
| delete | ( | $ | filename | ) |
Definition at line 123 of file ftp.class.php.
| disconnect | ( | ) |
Definition at line 61 of file ftp.class.php.
| exec | ( | $ | cmd | ) |
Definition at line 133 of file ftp.class.php.
| fget | ( | $ | fp, |
| $ | remote, | ||
| $ | mode = FTP_BINARY, |
||
| $ | resumepos = 0 |
||
| ) |
Definition at line 137 of file ftp.class.php.
| fput | ( | $ | remote, |
| $ | resource, | ||
| $ | mode = FTP_BINARY, |
||
| $ | startpos = 0 |
||
| ) |
Definition at line 155 of file ftp.class.php.
| FTP | ( | ) |
Definition at line 35 of file ftp.class.php.
| get | ( | $ | locale, |
| $ | remote, | ||
| $ | mode = FTP_BINARY, |
||
| $ | resumepos = 0 |
||
| ) |
Definition at line 182 of file ftp.class.php.
| get_option | ( | $ | option | ) |
Definition at line 171 of file ftp.class.php.
| getLastResult | ( | ) |
Definition at line 415 of file ftp.class.php.
| isConnected | ( | ) |
Definition at line 57 of file ftp.class.php.
| login | ( | $ | user, |
| $ | pass | ||
| ) |
Definition at line 70 of file ftp.class.php.
| ls | ( | $ | remote_filespec = "" | ) |
Definition at line 292 of file ftp.class.php.
| mdtm | ( | $ | name | ) |
Definition at line 189 of file ftp.class.php.
| mkdir | ( | $ | name | ) |
Definition at line 203 of file ftp.class.php.
| nb_continue | ( | ) |
Definition at line 213 of file ftp.class.php.
| nb_fget | ( | ) |
Definition at line 218 of file ftp.class.php.
| nb_fput | ( | ) |
Definition at line 223 of file ftp.class.php.
| nb_get | ( | ) |
Definition at line 228 of file ftp.class.php.
| nb_put | ( | ) |
Definition at line 233 of file ftp.class.php.
| nlist | ( | $ | remote_filespec = "" | ) |
Definition at line 238 of file ftp.class.php.
| pasv | ( | $ | pasv | ) |
Definition at line 244 of file ftp.class.php.
| put | ( | $ | remote, |
| $ | local, | ||
| $ | mode = FTP_BINARY, |
||
| $ | startpos = 0 |
||
| ) |
Definition at line 252 of file ftp.class.php.
| pwd | ( | ) |
Definition at line 259 of file ftp.class.php.
| quit | ( | ) |
Definition at line 273 of file ftp.class.php.
| raw | ( | $ | cmd | ) |
Definition at line 277 of file ftp.class.php.
| rawlist | ( | $ | remote_filespec = "" | ) |
Definition at line 286 of file ftp.class.php.
| rename | ( | $ | from, |
| $ | to | ||
| ) |
Definition at line 349 of file ftp.class.php.
| rmdir | ( | $ | name | ) |
Definition at line 363 of file ftp.class.php.
| set_option | ( | ) |
Definition at line 373 of file ftp.class.php.
| site | ( | $ | cmd | ) |
Definition at line 379 of file ftp.class.php.
| size | ( | $ | name | ) |
Definition at line 389 of file ftp.class.php.
| ssl_connect | ( | ) |
Definition at line 399 of file ftp.class.php.
| systype | ( | ) |
Definition at line 405 of file ftp.class.php.
| $controlSocket = NULL |
Definition at line 27 of file ftp.class.php.
| $error_msg = NULL |
Definition at line 33 of file ftp.class.php.
| $error_no = NULL |
Definition at line 32 of file ftp.class.php.
| $lastLine = "" |
Definition at line 26 of file ftp.class.php.
| $lastLines = array() |
Definition at line 25 of file ftp.class.php.
| $lastResult = -1 |
Definition at line 29 of file ftp.class.php.
| $newResult = FALSE |
Definition at line 28 of file ftp.class.php.
| $passiveMode = TRUE |
Definition at line 24 of file ftp.class.php.
| $pasvAddr = NULL |
Definition at line 30 of file ftp.class.php.
1.7.4