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.
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.
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.