Constante predefinite

Constantele de mai jos sunt definite de această extensie și vor fi disponibile doar dacă această extensie a fost compilată în interiorul PHP, sau a fost încărcată dinamic în timpul rulării.

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 (bool)

See ftp_set_option() for information. Available as of PHP 5.6.0.

add a note add a note

User Contributed Notes 1 note

up
0
Tyler Crompton
9 years ago
This doesn't seem to be in the documentation, but FTP_ASCII and FTP_TEXT are synonymous and FTP_BINARY and FTP_IMAGE are synonymous.
To Top