Class Ftp
Access to a FTP server.
$ftp = new Ftp; $ftp->connect('ftp.example.com'); $ftp->login('anonymous', 'example@example.com'); $ftp->get('file.txt', 'README', Ftp::ASCII);
- Nette\Object
- Nette\Web\Ftp
public
|
|
public
mixed
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
|
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
integer
|
ASCII
|
FTP_ASCII |
#
FTP constant alias |
integer
|
TEXT
|
FTP_TEXT |
|
integer
|
BINARY
|
FTP_BINARY |
|
integer
|
IMAGE
|
FTP_IMAGE |
|
integer
|
TIMEOUT_SEC
|
FTP_TIMEOUT_SEC |
|
integer
|
AUTOSEEK
|
FTP_AUTOSEEK |
|
integer
|
AUTORESUME
|
FTP_AUTORESUME |
|
integer
|
FAILED
|
FTP_FAILED |
|
integer
|
FINISHED
|
FTP_FINISHED |
|
integer
|
MOREDATA
|
FTP_MOREDATA |