以下常數由擴充功能定義,因此只有在擴充功能被編譯到 PHP 中,或者在執行時被動態載入後才有效。
FTP_ASCII
(integer)
FTP_TEXT
(integer)
FTP_BINARY
(integer)
FTP_IMAGE
(integer)
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