以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。
FTP_ASCII
(integer)
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
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.
FTP_USEPASVADDRESS
(bool)
See ftp_set_option() for information. Available as of PHP 5.6.0.