diff options
author | Stefan Esser <sesser@php.net> | 2002-07-26 13:03:08 +0000 |
---|---|---|
committer | Stefan Esser <sesser@php.net> | 2002-07-26 13:03:08 +0000 |
commit | c9676ccad7bc284d5be51d1d1040e0638ecf7e28 (patch) | |
tree | 997e9449121f1b4890e4dddc8376c63dccca2575 /ext/ftp/php_ftp.h | |
parent | 9aca197515a6c1f569f921aa80b77d2510c3abfc (diff) | |
download | php-git-c9676ccad7bc284d5be51d1d1040e0638ecf7e28.tar.gz |
@- FTP extension does support (auto)resuming now.
Added (Auto)Resuming functionality to ftp_(f)get/(f)put via optional 5th parameter.
Diffstat (limited to 'ext/ftp/php_ftp.h')
-rw-r--r-- | ext/ftp/php_ftp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/ftp/php_ftp.h b/ext/ftp/php_ftp.h index d5d36b96e4..fdbb13b3e9 100644 --- a/ext/ftp/php_ftp.h +++ b/ext/ftp/php_ftp.h @@ -12,7 +12,8 @@ | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ - | Author: Andrew Skalski <askalski@chek.com> | + | Authors: Andrew Skalski <askalski@chek.com> | + | Stefan Esser <sesser@php.net> (resume functions) | +----------------------------------------------------------------------+ */ @@ -27,6 +28,8 @@ extern zend_module_entry php_ftp_module_entry; #define php_ftp_module_ptr &php_ftp_module_entry #define PHP_FTP_OPT_TIMEOUT_SEC 0 +#define PHP_FTP_OPT_AUTOSEEK 1 +#define PHP_FTP_AUTORESUME -1 PHP_MINIT_FUNCTION(ftp); PHP_MINFO_FUNCTION(ftp); |