Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Resource TypesExamples>
^FTPLast updated: Mon, 26 Oct 2026

Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

FTP_ASCII (int)

FTP_AUTOSEEK (int)

See ftp_set_option() for information.

FTP_AUTORESUME (int)

Automatically determine resume position and start position for GET and PUT requests (only works if FTP_AUTOSEEK is enabled)

FTP_FAILED (int)

Asynchronous transfer has failed

FTP_FINISHED (int)

Asynchronous transfer has finished

FTP_MOREDATA (int)

Asynchronous transfer is still active

FTP_TEXT (int)

Alias of FTP_ASCII.

FTP_BINARY (int)

FTP_IMAGE (int)

Alias of FTP_BINARY.

FTP_TIMEOUT_SEC (int)

See ftp_set_option() for information.

FTP_USEPASVADDRESS (int)

See ftp_set_option() for information.


<Resource TypesExamples>
^FTPLast updated: Mon, 26 Oct 2026