Costanti predefinite

Queste costanti sono definite da questa estensione e sono disponibili solo se l'estensione è stata compilata nel PHP o se è stata caricata dinamicamente a 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.

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