diff options
author | Derick Rethans <derick@php.net> | 2000-09-13 22:00:31 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2000-09-13 22:00:31 +0000 |
commit | c7d31495bf968e6709a47bc765256e11670e390d (patch) | |
tree | b1c964010fac2068451ef7db45141ada310dd5a7 /ext/ftp/ftp.h | |
parent | a6bb6f5df3909915eb4f88a8a6d1af5d657d17d5 (diff) | |
download | php-git-c7d31495bf968e6709a47bc765256e11670e390d.tar.gz |
- Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
@ Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
@ (Derick)
Diffstat (limited to 'ext/ftp/ftp.h')
-rw-r--r-- | ext/ftp/ftp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h index ea9a25d047..2e3d1bc8d0 100644 --- a/ext/ftp/ftp.h +++ b/ext/ftp/ftp.h @@ -100,6 +100,9 @@ const char* ftp_syst(ftpbuf_t *ftp); /* returns the present working directory (NULL on error) */ const char* ftp_pwd(ftpbuf_t *ftp); +/* exec a command [special features], return true on success, false on error */ +int ftp_exec(ftpbuf_t *ftp, const char *cmd); + /* changes directories, return true on success, false on error */ int ftp_chdir(ftpbuf_t *ftp, const char *dir); |