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.
이 확장은 다음의 상수들을 정의합니다. 이 확장을 PHP에 내장했거나, 실행시에 동적으로 읽어들일 경우에만 사용할 수 있습니다.
FTP_ASCII
(integer)
FTP_TEXT
(integer)
Alias of FTP_ASCII
.
FTP_BINARY
(integer)
FTP_IMAGE
(integer)
Alias of FTP_BINARY
.
FTP_TIMEOUT_SEC
(integer)
See ftp_set_option() for information.
The following constants were introduced in PHP 4.3.0.
FTP_AUTOSEEK
(integer)
See ftp_set_option() for information.
FTP_AUTORESUME
(integer)
Automatically determine resume position and start position for GET and PUT requests (only works if FTP_AUTOSEEK is enabled)
FTP_FAILED
(integer)
Asynchronous transfer has failed
FTP_FINISHED
(integer)
Asynchronous transfer has finished
FTP_MOREDATA
(integer)
Asynchronous transfer is still active
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.